diff options
author | Nathan Scott <nathans@sgi.com> | 2003-04-29 03:05:25 +0000 |
---|---|---|
committer | Nathan Scott <nathans@sgi.com> | 2003-04-29 03:05:25 +0000 |
commit | 2dabb3ec665cc7170f0cced1a6380d19865738da (patch) | |
tree | 43d5a29fa4a21c4bec418f553c13597064cf7f13 /build/rpm | |
parent | 387c84f744b6b0f9e549e1b31030206c9d6cfbb7 (diff) | |
download | attr-2dabb3ec665cc7170f0cced1a6380d19865738da.tar.gz |
Sync attr/acl build scripts/Makefiles with other packages, minor.
Diffstat (limited to 'build/rpm')
-rw-r--r-- | build/rpm/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/build/rpm/Makefile b/build/rpm/Makefile index 112c2a3..0403fb5 100644 --- a/build/rpm/Makefile +++ b/build/rpm/Makefile @@ -51,18 +51,18 @@ dist : default $(SPECF) rpm-$(RPM_VERSION).rc # is not supported by rpm v.3, we have to resort to such ugly hacks ifneq ($(RPM_VERSION),2) rpm-$(RPM_VERSION).rc : rpmmacros - sed -e '/^macrofiles:/s|~/.rpmmacros|rpmmacros|' </usr/lib/rpm/rpmrc >$@ + @$(SED) -e '/^macrofiles:/s|~/.rpmmacros|rpmmacros|' </usr/lib/rpm/rpmrc >$@ rpmmacros : macros.template - @sed -e 's|%topdir%|$(TREEROOT)|g' < $< > $@ + @$(SED) -e 's|%topdir%|$(TREEROOT)|g' < $< > $@ else rpm-2.rc: rpm-2.rc.template - @sed -e 's|%topdir%|$(TOPDIR)|g' < $< > $@ + @$(SED) -e 's|%topdir%|$(TOPDIR)|g' < $< > $@ endif # Generate the rpm specfile format file list from the install-sh manifest rpmfiles rpmfiles-dev rpmfiles-lib: - sort -u $$DIST_MANIFEST | $(AWK) > $@ '\ + $(SORT) -u $$DIST_MANIFEST | $(AWK) > $@ '\ $$1 == "d" { printf ("%%%%dir %%%%attr(%s,%s,%s) %s\n", $$2, $$3, $$4, $$5); } \ $$1 == "f" { if (match ($$6, "$(PKG_MAN_DIR)") || \ match ($$6, "$(PKG_DOC_DIR)")) \ @@ -81,7 +81,7 @@ $$1 == "l" { if (match ($$3, "$(PKG_MAN_DIR)") || \ .PHONY: $(SPECF) ${SPECF} : ${SPECF}.in - sed -e's|@pkg_name@|$(PKG_NAME)|g' \ + $(SED) -e's|@pkg_name@|$(PKG_NAME)|g' \ -e's|@pkg_version@|$(PKG_VERSION)|g' \ -e's|@pkg_release@|$(PKG_RELEASE)|g' \ -e's|@pkg_distribution@|$(PKG_DISTRIBUTION)|g' \ |