tMakefile updates for Debian build - vaccinewars - be a doctor and try to vaccinate the world
git clone git://src.adamsgaard.dk/vaccinewars
Log
Files
Refs
README
LICENSE
---
commit 026ccc65062042d38013c968c0cfe2d08ebff24c
parent 91f60577d530733c50349fd651a30ecbc519abae
Author: Ben Webb 
Date:   Wed, 17 Jan 2001 22:49:32 +0000

Makefile updates for Debian build


Diffstat:
  M Makefile.am                         |       8 ++++----
  M Makefile.in                         |       8 ++++----
  M doc/Makefile.am                     |       4 ++--
  M doc/Makefile.in                     |       4 ++--
  M src/Makefile.am                     |       4 ++--
  M src/Makefile.in                     |       4 ++--

6 files changed, 16 insertions(+), 16 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
t@@ -3,8 +3,8 @@ SUBDIRS = src doc po intl
 DISTFILES = ABOUT-NLS
 
 install-data-local:
-        ${mkinstalldirs} ${datadir}
-        touch ${datadir}/dopewars.sco
-        chown root.games ${datadir}/dopewars.sco
-        chmod 0660 ${datadir}/dopewars.sco
+        ${mkinstalldirs} ${DESTDIR}${datadir}
+        touch ${DESTDIR}${datadir}/dopewars.sco
+        chown root.games ${DESTDIR}${datadir}/dopewars.sco
+        chmod 0660 ${DESTDIR}${datadir}/dopewars.sco
 
diff --git a/Makefile.in b/Makefile.in
t@@ -374,10 +374,10 @@ mostlyclean distclean maintainer-clean
 
 
 install-data-local:
-        ${mkinstalldirs} ${datadir}
-        touch ${datadir}/dopewars.sco
-        chown root.games ${datadir}/dopewars.sco
-        chmod 0660 ${datadir}/dopewars.sco
+        ${mkinstalldirs} ${DESTDIR}${datadir}
+        touch ${DESTDIR}${datadir}/dopewars.sco
+        chown root.games ${DESTDIR}${datadir}/dopewars.sco
+        chmod 0660 ${DESTDIR}${datadir}/dopewars.sco
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
diff --git a/doc/Makefile.am b/doc/Makefile.am
t@@ -5,6 +5,6 @@ DOCS= aiplayer.html configfile.html index.html server.html \
       metaserver.html windows.html
 
 install-data-local:
-        ${INSTALL} -d -o root -g root -m 0755 $(DOCPATH)
-        ${INSTALL} -o root -g root -m 0644 $(DOCS) $(DOCPATH)
+        ${INSTALL} -d -o root -g root -m 0755 ${DESTDIR}$(DOCPATH)
+        ${INSTALL} -o root -g root -m 0644 $(DOCS) ${DESTDIR}$(DOCPATH)
 
diff --git a/doc/Makefile.in b/doc/Makefile.in
t@@ -195,8 +195,8 @@ maintainer-clean-generic clean mostlyclean distclean maintainer-clean
 
 
 install-data-local:
-        ${INSTALL} -d -o root -g root -m 0755 $(DOCPATH)
-        ${INSTALL} -o root -g root -m 0644 $(DOCS) $(DOCPATH)
+        ${INSTALL} -d -o root -g root -m 0755 ${DESTDIR}$(DOCPATH)
+        ${INSTALL} -o root -g root -m 0644 $(DOCS) ${DESTDIR}$(DOCPATH)
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
diff --git a/src/Makefile.am b/src/Makefile.am
t@@ -13,6 +13,6 @@ DOCS= aiplayer.html configfile.html index.html server.html clientplay.html \
       developer.html metaserver.html windows.html README
 
 install-exec-hook:
-        chown root.games ${bindir}/dopewars
-        chmod 2755 ${bindir}/dopewars
+        chown root.games ${DESTDIR}${bindir}/dopewars
+        chmod 2755 ${DESTDIR}${bindir}/dopewars
 
diff --git a/src/Makefile.in b/src/Makefile.in
t@@ -341,8 +341,8 @@ maintainer-clean-generic clean mostlyclean distclean maintainer-clean
 
 
 install-exec-hook:
-        chown root.games ${bindir}/dopewars
-        chmod 2755 ${bindir}/dopewars
+        chown root.games ${DESTDIR}${bindir}/dopewars
+        chmod 2755 ${DESTDIR}${bindir}/dopewars
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.