summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2008-09-10 14:20:33 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2008-09-10 14:20:33 +0000
commit20a3efe5e83f9efe350b3106cbfc260d8d5d80a8 (patch)
tree47b8fc5c445dda412ff46da730c68f3f0823c45c /build
parentf795ad42d2b47d5b92cee7c776196682b4b53bf7 (diff)
downloadlibparserutils-20a3efe5e83f9efe350b3106cbfc260d8d5d80a8.tar.gz
libparserutils-20a3efe5e83f9efe350b3106cbfc260d8d5d80a8.tar.bz2
OS X friendly install invocation
svn path=/trunk/libparserutils/; revision=5300
Diffstat (limited to 'build')
-rw-r--r--build/Makefile.common13
1 files changed, 6 insertions, 7 deletions
diff --git a/build/Makefile.common b/build/Makefile.common
index 8740395..99ece68 100644
--- a/build/Makefile.common
+++ b/build/Makefile.common
@@ -99,13 +99,12 @@ install: release
@$(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