diff options
author | Mike Fulbright <msf@redhat.com> | 1999-11-30 23:18:19 +0000 |
---|---|---|
committer | Mike Fulbright <msf@redhat.com> | 1999-11-30 23:18:19 +0000 |
commit | 5910e3853d661c4aa1544f9111fa651521e924b5 (patch) | |
tree | 2827d898ece336c62879477e7b5b4c9a0821540f /Makefile | |
parent | beeb609dffdeb0414ca4658911e5dcb4dd8006a9 (diff) | |
download | anaconda-5910e3853d661c4aa1544f9111fa651521e924b5.tar.gz anaconda-5910e3853d661c4aa1544f9111fa651521e924b5.tar.xz anaconda-5910e3853d661c4aa1544f9111fa651521e924b5.zip |
Added preliminary spec file and init script for anaconda-reconfig.
Also made first pass at a create-archive make target to create a
distribution tarball.
Dr Mike
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -1,5 +1,7 @@ include Makefile.inc +VERSION = 6.2.0 + ARCH := $(patsubst i%86,i386,$(shell uname -m)) ARCH := $(patsubst sparc%,sparc,$(ARCH)) @@ -65,9 +67,12 @@ install-hd: all fi mkdir -p $(DESTDIR)/usr/bin mkdir -p $(DESTDIR)/$(PYTHONLIBDIR) + mkdir -p $(DESTDIR)/etc/rc.d/init.d + cp -a anaconda $(DESTDIR)/usr/bin cp -a *.py $(DESTDIR)/$(PYTHONLIBDIR) cp -a *.so $(DESTDIR)/$(PYTHONLIBDIR) + cp -a reconfig.init $(DESTDIR)/etc/rc.d/init.d for d in $(SUBDIRSHD); do make TOPDIR=../$(TOPDIR) DESTDIR=`cd $(DESTDIR); pwd` -C $$d install; done install: all @@ -83,3 +88,15 @@ install: all cp -a *.so $(DESTDIR)/$(PYTHONLIBDIR) for d in $(SUBDIRS); do make TOPDIR=../$(TOPDIR) DESTDIR=`cd $(DESTDIR); pwd` -C $$d install; done +create-archive: + @rm -rf /tmp/anaconda + echo "WARNING WARNING WARNING: Pulling HEAD off - need to do tagging instead!" + @cd /tmp ; cvs -Q -d $(CVSROOT) export -D "0 days ago" anaconda || echo "Um... export aborted." + @cd /tmp/anaconda ; sed -e "s/@@VERSION@@/$(VERSION)/g" < anaconda.spec.in > kudzu.spec + @mv /tmp/anaconda /tmp/anaconda-reconfig-$(VERSION) + @cd /tmp ; tar -czSpf anaconda-reconfig-$(VERSION).tar.gz anaconda-reconfig-$(VERSION) + @rm -rf /tmp/anaconda-reconfig-$(VERSION) + @cp /tmp/anaconda-reconfig-$(VERSION).tar.gz . + @rm -f /tmp/anaconda-reconfig-$(VERSION).tar.gz + @echo "" + @echo "The final archive is in anaconda-$(VERSION).tar.gz" |