Changeset 607


Ignore:
Timestamp:
10/10/13 10:39:46 (10 years ago)
Author:
Kris Deugau
Message:

/trunk

Finally fix up the version-munging in the Makefile so that n.n.n versions
show up correctly. Fix a couple of other minor related nuisances as well.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Makefile

    r581 r607  
    108108        mkdir $(PKGNAME)-$(VERSION)
    109109        tar cf - $(MANIFEST) | (cd $(PKGNAME)-$(VERSION); tar xf -)
    110         /usr/bin/perl -p -e 's/#VERSION#/$(VERSION)/;s/#RELEASE#/$(RELEASE)/;s/#BETA#//g' < $(PKGNAME).spec > $(PKGNAME)-$(VERSION)/$(PKGNAME).spec
    111         /usr/bin/perl -p -e 's/#VERSION#/$(VERSION)/;s/#RELEASE#/$(RELEASE)/;s/#BETA#//g' < INSTALL > $(PKGNAME)-$(VERSION)/INSTALL
    112         perl -pi -e 's/[\d.]+;\s*##VERSION##/$(VERSION);/;' $(PKGNAME)-$(VERSION)/cgi-bin/IPDB.pm
     110        /usr/bin/perl -p -e 's/#VERSION#/$(VERSION)/g;s/#RELEASE#/$(RELEASE)/g;s/#BETA#//g' < $(PKGNAME).spec > $(PKGNAME)-$(VERSION)/$(PKGNAME).spec
     111        /usr/bin/perl -p -e 's/#VERSION#/$(VERSION)/g;s/#RELEASE#/$(RELEASE)/g;s/#BETA#//g' < INSTALL > $(PKGNAME)-$(VERSION)/INSTALL
     112        perl -pi -e 's/[\d.]+;\s*##VERSION##/"$(VERSION)";/;' $(PKGNAME)-$(VERSION)/cgi-bin/IPDB.pm
    113113        tar cf $(PKGNAME)-$(VERSION).tar $(PKGNAME)-$(VERSION)
    114114        gzip -v -f -9 $(PKGNAME)-$(VERSION).tar
Note: See TracChangeset for help on using the changeset viewer.