Use install command instead of CHMOD, CP, and MKDIR.

Drop all POSTBUILD stuff as it is no longer used.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5663 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Michael R Sweet
2007-02-06 19:35:28 +00:00
parent e0381638a0
commit 44b2ff35cf
12 changed files with 160 additions and 213 deletions
+1 -2
View File
@@ -38,8 +38,7 @@ all: makeinclude
install: makeinclude
-mkdir -p $(DESTDIR)$(bindir)
$(RM) $(DESTDIR)$(bindir)/fltk-config
-cp fltk-config $(DESTDIR)$(bindir)
-chmod 755 $(DESTDIR)$(bindir)/fltk-config
$(INSTALL_SCRIPT) fltk-config $(DESTDIR)$(bindir)
for dir in FL $(DIRS); do\
echo "=== installing $$dir ===";\
(cd $$dir; $(MAKE) $(MFLAGS) install) || exit 1;\