summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorNathan Scott <nathans@sgi.com>2001-01-25 06:56:37 +0000
committerNathan Scott <nathans@sgi.com>2001-01-25 06:56:37 +0000
commita31cd6d268ccf1ae24682aacbaabd8c71733d302 (patch)
treea9b7cabc0a25e756f862ad2f94f0703f773ac24d /doc
parentf900966db4e369ffc6d59149ae22d82628012e4e (diff)
downloadattr-a31cd6d268ccf1ae24682aacbaabd8c71733d302.tar.gz
set the distribution environment variable before configure step.
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/doc/Makefile b/doc/Makefile
index d320b35..8ee4ec9 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -33,9 +33,6 @@
TOPDIR = ..
include $(TOPDIR)/include/builddefs
-# [don't install COPYING for Debian builds - use Debian preferred method]
-HAVE_DEBIAN = $(shell test -f /etc/debian_version && echo yes || echo no)
-
LSRCFILES = INSTALL PORTING CHANGES COPYING
LDIRT = *.gz
@@ -48,7 +45,7 @@ CHANGES.gz:
install: default
$(INSTALL) -m 755 -d $(PKG_DOC_DIR)
-ifeq ($(HAVE_DEBIAN), no)
+ifneq ($(PKG_DISTRIBUTION), debian)
$(INSTALL) -m 644 COPYING $(PKG_DOC_DIR)
endif
$(INSTALL) -m 644 PORTING CHANGES.gz $(PKG_DOC_DIR)