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

netsurf at semichrome.net netsurf at semichrome.net
Wed Sep 10 15:20:33 BST 2008


Author: jmb
Date: Wed Sep 10 09:20:33 2008
New Revision: 5300

URL: http://source.netsurf-browser.org?rev=5300&view=rev
Log:
OS X friendly install invocation

Modified:
    trunk/libparserutils/build/Makefile.common

Modified: trunk/libparserutils/build/Makefile.common
URL: http://source.netsurf-browser.org/trunk/libparserutils/build/Makefile.common?rev=5300&r1=5299&r2=5300&view=diff
==============================================================================
--- trunk/libparserutils/build/Makefile.common (original)
+++ trunk/libparserutils/build/Makefile.common Wed Sep 10 09:20:33 2008
@@ -99,13 +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) --mode=644 -t $(DESTDIR)$(PREFIX)/lib $(COMPONENT).a
-	$(INSTALL) --mode=644 -t $(DESTDIR)$(PREFIX)/lib/pkgconfig $(COMPONENT).pc
-	$(INSTALL) --mode=644 -t $(DESTDIR)$(PREFIX)/include/parserutils $(filter %.h, $(wildcard include/parserutils/*))
-	$(INSTALL) --mode=644 -t $(DESTDIR)$(PREFIX)/include/parserutils/charset $(filter %.h, $(wildcard include/parserutils/charset/*))
-	$(INSTALL) --mode=644 -t $(DESTDIR)$(PREFIX)/include/parserutils/input $(filter %.h, $(wildcard include/parserutils/input/*))
-	$(INSTALL) --mode=644 -t $(DESTDIR)$(PREFIX)/include/parserutils/utils $(filter %.h, $(wildcard include/parserutils/utils/*))
-
+	$(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
 
 uninstall:
 	$(RM) $(RMFLAGS) $(DESTDIR)$(PREFIX)/lib/$(COMPONENT).a




More information about the netsurf-commits mailing list