summaryrefslogtreecommitdiff
path: root/build/Makefile.common
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2008-09-18 20:27:05 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2008-09-18 20:27:05 +0000
commit0e9003fab151da98e239ce842758964f8504a0c9 (patch)
treec5afd13e7d183ab9990f15315f199bd953c05370 /build/Makefile.common
parentdebe1c5dc392274e689e83ea699fd29cbeed137e (diff)
downloadlibhubbub-0e9003fab151da98e239ce842758964f8504a0c9.tar.gz
libhubbub-0e9003fab151da98e239ce842758964f8504a0c9.tar.bz2
Make install target work with DESTDIR again. bah.
svn path=/trunk/hubbub/; revision=5372
Diffstat (limited to 'build/Makefile.common')
-rw-r--r--build/Makefile.common6
1 files changed, 3 insertions, 3 deletions
diff --git a/build/Makefile.common b/build/Makefile.common
index 97b00ae..f26dac6 100644
--- a/build/Makefile.common
+++ b/build/Makefile.common
@@ -93,9 +93,9 @@ install: release
@$(MKDIR) $(MKDIRFLAGS) -p $(DESTDIR)$(PREFIX)/lib/pkgconfig
@$(MKDIR) $(MKDIRFLAGS) -p $(DESTDIR)$(PREFIX)/include/hubbub
@$(SED) -e 's#PREFIX#$(PREFIX)#' $(COMPONENT).pc.in >$(COMPONENT).pc
- $(INSTALL) -m 644 $(COMPONENT).a $(PREFIX)/lib
- $(INSTALL) -m 644 $(COMPONENT).pc $(PREFIX)/lib/pkgconfig
- $(INSTALL) -m 644 $(filter %.h, $(wildcard include/hubbub/*)) $(PREFIX)/include/hubbub
+ $(INSTALL) -m 644 $(COMPONENT).a $(DESTDIR)$(PREFIX)/lib
+ $(INSTALL) -m 644 $(COMPONENT).pc $(DESTDIR)$(PREFIX)/lib/pkgconfig
+ $(INSTALL) -m 644 $(filter %.h, $(wildcard include/hubbub/*)) $(DESTDIR)$(PREFIX)/include/hubbub
uninstall:
$(RM) $(RMFLAGS) $(DESTDIR)$(PREFIX)/lib/$(COMPONENT).a