summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorNathan Scott <nathans@sgi.com>2001-07-18 07:37:28 +0000
committerNathan Scott <nathans@sgi.com>2001-07-18 07:37:28 +0000
commitacd435299b7ead1cce235fe07748c0431e75f764 (patch)
treed3fd65f030e889fae4a2ffbfa62bc08f0a5d837a /debian
parent42dbfb88f62c0811f542f535dc0773023f961b8c (diff)
downloadattr-acd435299b7ead1cce235fe07748c0431e75f764.tar.gz
skip install & install-dev for non-Debian distributions.
Diffstat (limited to 'debian')
-rw-r--r--debian/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/debian/Makefile b/debian/Makefile
index 4cad821..b3d3d7b 100644
--- a/debian/Makefile
+++ b/debian/Makefile
@@ -41,11 +41,15 @@ default:
include $(BUILDRULES)
install: default
+ifeq ($(PKG_DISTRIBUTION), debian)
$(INSTALL) -m 755 -d $(PKG_DOC_DIR)
$(INSTALL) -m 644 changelog $(PKG_DOC_DIR)/changelog.Debian
+endif
install-dev: default
+ifeq ($(PKG_DISTRIBUTION), debian)
$(INSTALL) -m 755 -d $(PKG_DOC_DIR)
$(INSTALL) -m 755 -d $(DEV_DOC_DIR)
$(INSTALL) -m 644 copyright $(DEV_DOC_DIR)
$(INSTALL) -m 644 changelog $(DEV_DOC_DIR)/changelog.Debian
+endif