summaryrefslogtreecommitdiff
path: root/makeinclude.in
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 /makeinclude.in
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 'makeinclude.in')
-rw-r--r--makeinclude.in21
1 files changed, 13 insertions, 8 deletions
diff --git a/makeinclude.in b/makeinclude.in
index 9d169e9a5..aaf70e4d8 100644
--- a/makeinclude.in
+++ b/makeinclude.in
@@ -3,7 +3,7 @@
#
# Make include file for the Fast Light Tool Kit (FLTK).
#
-# Copyright 1998-2006 by Bill Spitzak and others.
+# Copyright 1998-2007 by Bill Spitzak and others.
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Library General Public
@@ -37,11 +37,9 @@ docdir = $(datadir)/doc/fltk
VPATH = @srcdir@
# programs we use...
-CHMOD = chmod
-CP = cp
HTMLDOC = @HTMLDOC@
+INSTALL = @INSTALL@
LN = ln -s
-MKDIR = mkdir -p
NROFF = @NROFF@
RM = rm -f
RMDIR = rm -rf
@@ -101,14 +99,22 @@ THREADS = @THREADS@
# Name of FLUID executable we install
FLUID = @FLUID@$(EXEEXT)
-# Possible steps after linking...
-POSTBUILD = @POSTBUILD@
-
# Man page extensions...
CAT1EXT = @CAT1EXT@
CAT3EXT = @CAT3EXT@
CAT6EXT = @CAT6EXT@
+#
+# Installation programs...
+#
+
+INSTALL_BIN = $(INSTALL) -m 755
+INSTALL_DATA = $(INSTALL) -m 644
+INSTALL_DIR = $(INSTALL) -d
+INSTALL_LIB = $(INSTALL) -m 755
+INSTALL_MAN = $(INSTALL) -m 644
+INSTALL_SCRIPT = $(INSTALL) -m 755
+
# Additional GUI install/uninstall targets...
INSTALL_DESKTOP = @INSTALL_DESKTOP@
UNINSTALL_DESKTOP = @UNINSTALL_DESKTOP@
@@ -122,7 +128,6 @@ UNINSTALL_DESKTOP = @UNINSTALL_DESKTOP@
.o$(EXEEXT):
echo Linking $@...
$(CXX) $(ARCHFLAGS) $(LDFLAGS) $< $(LINKFLTK) $(LDLIBS) -o $@
- $(POSTBUILD) $@ ../FL/mac.r
.c.o:
echo Compiling $<...