@@ -116,15 +116,17 @@ configure: configure.ac
include/builddefs: configure
./configure $$LOCAL_CONFIGURE_OPTIONS
-install: $(addsuffix -install,$(SUBDIRS))
+install: install-pkg
+
+install-pkg: $(addsuffix -install-pkg,$(SUBDIRS))
$(INSTALL) -m 755 -d $(PKG_DOC_DIR)
$(INSTALL) -m 644 README $(PKG_DOC_DIR)
install-dev: $(addsuffix -install-dev,$(SUBDIRS))
-%-install:
+%-install-pkg:
@echo "Installing $@"
- $(Q)$(MAKE) $(MAKEOPTS) -C $* install
+ $(Q)$(MAKE) $(MAKEOPTS) -C $* install-pkg
%-install-dev:
@echo "Installing $@"
@@ -18,7 +18,9 @@ default: depend $(LTCOMMAND)
include $(BUILDRULES)
-install: default
+install: install-pkg
+
+install-pkg: default
$(INSTALL) -m 755 -d $(PKG_SBIN_DIR)
$(LTINSTALL) -m 755 $(LTCOMMAND) $(PKG_SBIN_DIR)
install-dev:
@@ -81,7 +81,9 @@ default: depend $(LTCOMMAND)
include $(BUILDRULES)
-install: default
+install: install-pkg
+
+install-pkg: default
$(INSTALL) -m 755 -d $(PKG_SBIN_DIR)
$(LTINSTALL) -m 755 $(LTCOMMAND) $(PKG_SBIN_DIR)
$(INSTALL) -m 755 xfs_admin.sh $(PKG_SBIN_DIR)/xfs_admin
@@ -15,7 +15,9 @@ default:
include $(BUILDRULES)
-install: default
+install: install-pkg
+
+install-pkg: default
ifeq ($(PKG_DISTRIBUTION), debian)
$(INSTALL) -m 755 -d $(PKG_DOC_DIR)
$(INSTALL) -m 644 changelog $(PKG_DOC_DIR)/changelog.Debian
@@ -100,7 +100,7 @@ binary-arch: checkroot built
@echo "== dpkg-buildpackage: binary-arch" 1>&2
$(checkdir)
-rm -rf $(dirme) $(dirdev) $(dirdi)
- $(pkgme) $(MAKE) -C . install
+ $(pkgme) $(MAKE) -C . install-pkg
$(pkgdev) $(MAKE) -C . install-dev
$(pkgdi) $(MAKE) -C debian install-d-i
$(pkgme) $(MAKE) dist
@@ -16,7 +16,9 @@ CHANGES.gz:
@echo " [ZIP] $@"
$(Q)$(ZIP) --best -c < CHANGES > $@
-install: default
+install: install-pkg
+
+install-pkg: default
$(INSTALL) -m 755 -d $(PKG_DOC_DIR)
$(INSTALL) -m 644 CHANGES.gz CREDITS $(PKG_DOC_DIR)
ifeq ($(PKG_DISTRIBUTION), debian)
@@ -12,7 +12,9 @@ default: depend $(LTCOMMAND)
include $(BUILDRULES)
-install: default
+install: install-pkg
+
+install-pkg: default
$(INSTALL) -m 755 -d $(PKG_SBIN_DIR)
$(LTINSTALL) -m 755 $(LTCOMMAND) $(PKG_SBIN_DIR)
install-dev:
@@ -11,7 +11,9 @@ default: $(LTCOMMAND)
include $(BUILDRULES)
-install: default
+install: install-pkg
+
+install-pkg: default
$(INSTALL) -m 755 -d $(PKG_SBIN_DIR)
$(INSTALL) -m 755 xfs_fsck.sh $(PKG_SBIN_DIR)/fsck.xfs
install-dev:
@@ -15,7 +15,9 @@ default: depend $(LTCOMMAND)
include $(BUILDRULES)
-install: default
+install: install-pkg
+
+install-pkg: default
$(INSTALL) -m 755 -d $(PKG_SBIN_DIR)
$(LTINSTALL) -m 755 $(LTCOMMAND) $(PKG_SBIN_DIR)
install-dev:
@@ -23,7 +23,9 @@ default: depend $(LTCOMMAND)
include $(BUILDRULES)
-install: default
+install: install-pkg
+
+install-pkg: default
$(INSTALL) -m 755 -d $(PKG_SBIN_DIR)
$(LTINSTALL) -m 755 $(LTCOMMAND) $(PKG_SBIN_DIR)
install-dev:
@@ -57,7 +57,9 @@ install-headers: $(addsuffix -hdrs, $(DKHFILES) $(HFILES))
%-hdrs:
$(Q)$(LN_S) -f $(CURDIR)/$* xfs/$*
-install: default
+install: install-pkg
+
+install-pkg: default
$(INSTALL) -m 755 -d $(PKG_INC_DIR)
install-dev: install
@@ -85,7 +85,9 @@ default: depend $(LTCOMMAND)
include $(BUILDRULES)
-install: default
+install: install-pkg
+
+install-pkg: default
$(INSTALL) -m 755 -d $(PKG_SBIN_DIR)
$(LTINSTALL) -m 755 $(LTCOMMAND) $(PKG_SBIN_DIR)
$(LTINSTALL) -m 755 xfs_bmap.sh $(PKG_SBIN_DIR)/xfs_bmap
@@ -79,6 +79,6 @@ crc32table.h: gen_crc32table.c crc32defs.h
include $(BUILDRULES)
-install install-dev: default
+install install-pkg install-dev: default
-include .ltdep
@@ -19,7 +19,9 @@ default: ltdepend $(LTLIBRARY)
include $(BUILDRULES)
-install: default
+install: install-pkg
+
+install-pkg: default
$(INSTALL_LTLIB)
install-dev: default
@@ -23,6 +23,6 @@ default: ltdepend $(LTLIBRARY)
include $(BUILDRULES)
-install install-dev: default
+install install-pkg install-dev: default
-include .ltdep
@@ -140,7 +140,9 @@ default: ltdepend $(LTLIBRARY)
# set up include/xfs header directory
include $(BUILDRULES)
-install: default
+install: install-pkg
+
+install-pkg: default
$(INSTALL) -m 755 -d $(PKG_INC_DIR)
install-headers: $(addsuffix -hdrs, $(PKGHFILES))
@@ -21,6 +21,6 @@ default: ltdepend $(LTLIBRARY)
include $(BUILDRULES)
-install install-dev: default
+install install-pkg install-dev: default
-include .ltdep
@@ -21,7 +21,9 @@ default: depend $(LTCOMMAND)
include $(BUILDRULES)
-install: default
+install: install-pkg
+
+install-pkg: default
$(INSTALL) -m 755 -d $(PKG_SBIN_DIR)
$(LTINSTALL) -m 755 $(LTCOMMAND) $(PKG_SBIN_DIR)
install-dev:
@@ -33,7 +33,7 @@ default:
include $(BUILDRULES)
-install install-dev install-lib: default
+install install-pkg install-dev install-lib: default
realclean: distclean
rm -f $(CONFIGURE)
@@ -9,12 +9,14 @@ SUBDIRS = man2 man3 man5 man8
default : $(SUBDIRS)
-install : $(addsuffix -install,$(SUBDIRS))
+install : install-pkg
+
+install-pkg : $(addsuffix -install-pkg,$(SUBDIRS))
install-dev : $(addsuffix -install-dev,$(SUBDIRS))
-%-install:
- $(Q)$(MAKE) $(MAKEOPTS) -C $* install
+%-install-pkg:
+ $(Q)$(MAKE) $(MAKEOPTS) -C $* install-pkg
%-install-dev:
$(Q)$(MAKE) $(MAKEOPTS) -C $* install-dev
@@ -15,7 +15,9 @@ default : $(MAN_PAGES)
include $(BUILDRULES)
-install :
+install : install-pkg
+
+install-pkg :
install-dev : default
$(INSTALL) -m 755 -d $(MAN_DEST)
@@ -15,7 +15,9 @@ default : $(MAN_PAGES)
include $(BUILDRULES)
-install :
+install : install-pkg
+
+install-pkg :
install-dev : default
$(INSTALL) -m 755 -d $(MAN_DEST)
@@ -15,7 +15,10 @@ default : $(MAN_PAGES)
include $(BUILDRULES)
-install : default
+install : install-pkg
+
+install-pkg : default
$(INSTALL) -m 755 -d $(MAN_DEST)
$(INSTALL_MAN)
+
install-dev :
@@ -22,7 +22,9 @@ default : $(MAN_PAGES)
include $(BUILDRULES)
-install : default
+install : install-pkg
+
+install-pkg : default
$(INSTALL) -m 755 -d $(MAN_DEST)
$(INSTALL_MAN)
@@ -16,7 +16,9 @@ default: depend $(LTCOMMAND)
include $(BUILDRULES)
-install: default
+install: install-pkg
+
+install-pkg: default
$(INSTALL) -m 755 -d $(PKG_SBIN_DIR)
$(LTINSTALL) -m 755 $(LTCOMMAND) $(PKG_SBIN_DIR)
install-dev:
@@ -27,7 +27,9 @@ default: depend $(LTCOMMAND) $(CFGFILES)
include $(BUILDRULES)
-install: default
+install: install-pkg
+
+install-pkg: default
$(INSTALL) -m 755 -d $(PKG_SBIN_DIR)
$(LTINSTALL) -m 755 $(LTCOMMAND) $(PKG_SBIN_DIR)
$(INSTALL) -m 755 -d $(MKFS_CFG_DIR)
@@ -19,7 +19,9 @@ default: $(POTHEAD) $(LINGUAS:%=%.mo)
include $(BUILDRULES)
-install: default
+install: install-pkg
+
+install-pkg: default
$(INSTALL_LINGUAS)
install-dev install-lib:
@@ -23,7 +23,9 @@ default: depend $(LTCOMMAND)
include $(BUILDRULES)
-install: default
+install: install-pkg
+
+install-pkg: default
$(INSTALL) -m 755 -d $(PKG_SBIN_DIR)
$(LTINSTALL) -m 755 $(LTCOMMAND) $(PKG_SBIN_DIR)
install-dev:
@@ -106,7 +106,9 @@ include $(BUILDRULES)
#
#CFLAGS += ...
-install: default
+install: install-pkg
+
+install-pkg: default
$(INSTALL) -m 755 -d $(PKG_SBIN_DIR)
$(LTINSTALL) -m 755 $(LTCOMMAND) $(PKG_SBIN_DIR)
install-dev:
@@ -16,7 +16,9 @@ default: depend $(LTCOMMAND)
include $(BUILDRULES)
-install: default
+install: install-pkg
+
+install-pkg: default
$(INSTALL) -m 755 -d $(PKG_SBIN_DIR)
$(LTINSTALL) -m 755 $(LTCOMMAND) $(PKG_SBIN_DIR)
install-dev:
@@ -138,7 +138,9 @@ phase5.o unicrash.o xfs.o: $(builddefs)
include $(BUILDRULES)
-install: $(INSTALL_SCRUB)
+install: install-pkg
+
+install-pkg: $(INSTALL_SCRUB)
%.service: %.service.in $(builddefs)
@echo " [SED] $@"
@@ -38,7 +38,9 @@ default: depend $(LTCOMMAND)
include $(BUILDRULES)
-install: default
+install: install-pkg
+
+install-pkg: default
$(INSTALL) -m 755 -d $(PKG_SBIN_DIR)
$(LTINSTALL) -m 755 $(LTCOMMAND) $(PKG_SBIN_DIR)
$(INSTALL) -m 755 xfs_info.sh $(PKG_SBIN_DIR)/xfs_info