r5371 jmb - /trunk/libparserutils/build/Makefile.common

netsurf at semichrome.net netsurf at semichrome.net
Thu Sep 18 21:25:02 BST 2008


Author: jmb
Date: Thu Sep 18 15:25:02 2008
New Revision: 5371

URL: http://source.netsurf-browser.org?rev=5371&view=rev
Log:
Fix install target's use of DESTDIR. sigh.

Modified:
    trunk/libparserutils/build/Makefile.common

Modified: trunk/libparserutils/build/Makefile.common
URL: http://source.netsurf-browser.org/trunk/libparserutils/build/Makefile.common?rev=5371&r1=5370&r2=5371&view=diff
==============================================================================
--- trunk/libparserutils/build/Makefile.common (original)
+++ trunk/libparserutils/build/Makefile.common Thu Sep 18 15:25:02 2008
@@ -99,12 +99,12 @@
 	@$(MKDIR) $(MKDIRFLAGS) -p $(DESTDIR)$(PREFIX)/include/parserutils/input
 	@$(MKDIR) $(MKDIRFLAGS) -p $(DESTDIR)$(PREFIX)/include/parserutils/utils
 	@$(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/parserutils/*)) $(PREFIX)/include/parserutils
-	$(INSTALL) -m 644 $(filter %.h, $(wildcard include/parserutils/charset/*)) $(PREFIX)/include/parserutils/charset
-	$(INSTALL) -m 644 $(filter %.h, $(wildcard include/parserutils/input/*)) $(PREFIX)/include/parserutils/input 
-	$(INSTALL) -m 644 $(filter %.h, $(wildcard include/parserutils/utils/*)) $(PREFIX)/include/parserutils/utils
+	$(INSTALL) -m 644 $(COMPONENT).a $(DESTDIR)$(PREFIX)/lib
+	$(INSTALL) -m 644 $(COMPONENT).pc $(DESTDIR)$(PREFIX)/lib/pkgconfig
+	$(INSTALL) -m 644 $(filter %.h, $(wildcard include/parserutils/*)) $(DESTDIR)$(PREFIX)/include/parserutils
+	$(INSTALL) -m 644 $(filter %.h, $(wildcard include/parserutils/charset/*)) $(DESTDIR)$(PREFIX)/include/parserutils/charset
+	$(INSTALL) -m 644 $(filter %.h, $(wildcard include/parserutils/input/*)) $(DESTDIR)$(PREFIX)/include/parserutils/input 
+	$(INSTALL) -m 644 $(filter %.h, $(wildcard include/parserutils/utils/*)) $(DESTDIR)$(PREFIX)/include/parserutils/utils
 
 uninstall:
 	$(RM) $(RMFLAGS) $(DESTDIR)$(PREFIX)/lib/$(COMPONENT).a




More information about the netsurf-commits mailing list