]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/blob - debian/Makefile
xfsprogs: Release v6.7.0
[thirdparty/xfsprogs-dev.git] / debian / Makefile
1 # SPDX-License-Identifier: GPL-2.0
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 watch
9 DEV_DOC_DIR = $(PKG_DOC_DIR)/../xfslibs-dev
10 BOOT_MKFS_BIN = $(TOPDIR)/mkfs/mkfs.xfs-xfsprogs-udeb
11 LDIRDIRT = xfslibs-dev xfsprogs xfsprogs-udeb
12 LDIRT = files *.log *.substvars *.debhelper
13
14 default:
15
16 include $(BUILDRULES)
17
18 install: default
19 ifeq ($(PKG_DISTRIBUTION), debian)
20 $(INSTALL) -m 755 -d $(PKG_DOC_DIR)
21 $(INSTALL) -m 644 changelog $(PKG_DOC_DIR)/changelog.Debian
22 endif
23
24 install-dev: default
25 ifeq ($(PKG_DISTRIBUTION), debian)
26 $(INSTALL) -m 755 -d $(PKG_DOC_DIR)
27 $(INSTALL) -m 755 -d $(DEV_DOC_DIR)
28 $(INSTALL) -m 644 copyright $(DEV_DOC_DIR)
29 $(INSTALL) -m 644 changelog $(DEV_DOC_DIR)/changelog.Debian
30 endif
31
32 install-d-i: default
33 ifeq ($(PKG_DISTRIBUTION), debian)
34 $(INSTALL) -m 755 -d $(PKG_ROOT_SBIN_DIR)
35 $(INSTALL) -m 755 $(BOOT_MKFS_BIN) $(PKG_ROOT_SBIN_DIR)/mkfs.xfs
36 endif