]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/blame - debian/Makefile
xfsprogs: Release v4.19.0-rc1
[thirdparty/xfsprogs-dev.git] / debian / Makefile
CommitLineData
959ef981 1# SPDX-License-Identifier: GPL-2.0
33a4da69 2# Copyright (c) 2000-2004 Silicon Graphics, Inc. All Rights Reserved.
fc49813f
NS
3#
4
5TOPDIR = ..
6include $(TOPDIR)/include/builddefs
7
1a05f918 8LSRCFILES = changelog compat control copyright rules watch
d5dca43b 9DEV_DOC_DIR = $(PKG_DOC_DIR)/../xfslibs-dev
33a4da69 10BOOT_MKFS_BIN = $(TOPDIR)/mkfs/mkfs.xfs-xfsprogs-udeb
efb579da
NS
11LDIRDIRT = xfslibs-dev xfsprogs xfsprogs-udeb
12LDIRT = files *.log *.substvars *.debhelper
fc49813f 13
d5dca43b 14default:
fc49813f
NS
15
16include $(BUILDRULES)
d5dca43b
NS
17
18install: default
78e02005 19ifeq ($(PKG_DISTRIBUTION), debian)
d5dca43b
NS
20 $(INSTALL) -m 755 -d $(PKG_DOC_DIR)
21 $(INSTALL) -m 644 changelog $(PKG_DOC_DIR)/changelog.Debian
78e02005 22endif
d5dca43b
NS
23
24install-dev: default
78e02005 25ifeq ($(PKG_DISTRIBUTION), debian)
d5dca43b
NS
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
78e02005 30endif
3a1664fa 31
33a4da69 32install-d-i: default
3a1664fa 33ifeq ($(PKG_DISTRIBUTION), debian)
595e27db
CH
34 $(INSTALL) -m 755 -d $(PKG_ROOT_SBIN_DIR)
35 $(INSTALL) -m 755 $(BOOT_MKFS_BIN) $(PKG_ROOT_SBIN_DIR)/mkfs.xfs
3a1664fa 36endif