1) added make tar rule

CVS patchset: 1853
CVS date: 1997/10/14 15:22:55
This commit is contained in:
ewt 1997-10-14 15:22:55 +00:00
parent d4ee4e7d6f
commit b0bed59f68
2 changed files with 23 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2.4.8 -> 2.4.9:
- fix for verification on systems where a single group id
maps to mulitiple group names (Benedict Lofstedt)
- added 'make tar' rule for building a distribution tarball
(Horacio Rodriguez Montero)
2.4.7 -> 2.4.8:
- added noarch build compatibilities for ppc, m68k
- fixed some minor typos (Florian La Roche)

View File

@ -128,6 +128,21 @@ install: all
(cd $$d; $(MAKE) installprefix=$(installprefix) LIBDIR=$(installprefix)/$(LIBDIR) INCDIR=$(installprefix)/$(INCDIR) install) ;\
done
.PHONY: tar
tar:
rm -rf /tmp/rpm-$(VERSION)
make installprefix=/tmp/rpm-$(VERSION)$(ROOT) install
mkdir -p /tmp/rpm-$(VERSION)@prefix@/src/redhat/SOURCES
mkdir -p /tmp/rpm-$(VERSION)@prefix@/src/redhat/SPECS
mkdir -p /tmp/rpm-$(VERSION)@prefix@/src/redhat/SRPMS
mkdir -p /tmp/rpm-$(VERSION)@prefix@/src/redhat/RPMS
mkdir -p /tmp/rpm-$(VERSION)@prefix@/src/redhat/BUILD
mkdir -p /tmp/rpm-$(VERSION)@varprefix@/lib/rpm
mkdir -p /tmp/rpm-$(VERSION)/var/tmp
# Couldn't figure de ARCH value
# mkdir -p /tmp/rpm-$(VERSION)/usr/local/src/redhat/RPMS/i386
cd /tmp/rpm-$(VERSION) ; tar cvf /tmp/rpm-$(VERSION).tar .
.PHONY: clean
clean:
for d in $(SUBDIRS); do \
@ -153,10 +168,12 @@ depend:
(cd $$d; $(MAKE) $@) ;\
done
.PHONY noconfig
noconfig:
find . -name "Makefile" -exec rm {} \;
rm -f *gz *rpm config.*
.PHONY archive
archive:
@echo " "
@echo "I hope you checked everything out and made sure it builds"