summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2007-02-06 19:35:28 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2007-02-06 19:35:28 +0000
commit44b2ff35cf0e7aa0cb394acb9e44fb39ab068b71 (patch)
tree8cd85c1dfcb2f0adfeaa7f5ad8c6c1dc97d76230 /Makefile
parente0381638a027a27f101c95b8c4eb7aad8bf7efb3 (diff)
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
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 48893c4c7..953e0eda5 100644
--- a/Makefile
+++ b/Makefile
@@ -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;\