]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/blob - debian/Makefile
9b1d92baee6a88e37119f05fbb13cb7ff4e58c36
[thirdparty/xfsprogs-dev.git] / debian / Makefile
1 #
2 # Copyright (c) 2000-2004 Silicon Graphics, Inc. All Rights Reserved.
3 #
4
5 TOPDIR = ..
6 include $(TOPDIR)/include/builddefs
7
8 LSRCFILES = changelog compat control copyright rules
9 DEV_DOC_DIR = $(PKG_DOC_DIR)/../xfslibs-dev
10 BOOT_MKFS_BIN = $(TOPDIR)/mkfs/mkfs.xfs-xfsprogs-udeb
11
12 default:
13
14 include $(BUILDRULES)
15
16 install: default
17 ifeq ($(PKG_DISTRIBUTION), debian)
18 $(INSTALL) -m 755 -d $(PKG_DOC_DIR)
19 $(INSTALL) -m 644 changelog $(PKG_DOC_DIR)/changelog.Debian
20 endif
21
22 install-dev: default
23 ifeq ($(PKG_DISTRIBUTION), debian)
24 $(INSTALL) -m 755 -d $(PKG_DOC_DIR)
25 $(INSTALL) -m 755 -d $(DEV_DOC_DIR)
26 $(INSTALL) -m 644 copyright $(DEV_DOC_DIR)
27 $(INSTALL) -m 644 changelog $(DEV_DOC_DIR)/changelog.Debian
28 endif
29
30 install-d-i: default
31 ifeq ($(PKG_DISTRIBUTION), debian)
32 $(INSTALL) -m 755 -d $(PKG_SBIN_DIR)
33 $(INSTALL) -m 755 $(BOOT_MKFS_BIN) $(PKG_SBIN_DIR)/mkfs.xfs
34 endif