]> sipb.mit.edu Git - ikiwiki.git/commitdiff
remove reundant chengelog version parse
authorJoey Hess <joey@kitenet.net>
Sat, 19 Mar 2011 18:03:50 +0000 (14:03 -0400)
committerJoey Hess <joey@kitenet.net>
Sat, 19 Mar 2011 18:03:50 +0000 (14:03 -0400)
Makefile.PL

index 7906f65934f5cf549b697c507b7321b7b97bafcb..df677262b367b4a6ba4884f7cb51ec12f0278f3f 100755 (executable)
@@ -50,7 +50,7 @@ extra_build: $(outprogs) ikiwiki.setup docwiki
        ./mdwn2man ikiwiki-update-wikilist 1 doc/ikiwiki-update-wikilist.mdwn > ikiwiki-update-wikilist.man
        ./mdwn2man ikiwiki-calendar 1 doc/ikiwiki-calendar.mdwn > ikiwiki-calendar.man
        $(MAKE) -C po
        ./mdwn2man ikiwiki-update-wikilist 1 doc/ikiwiki-update-wikilist.mdwn > ikiwiki-update-wikilist.man
        ./mdwn2man ikiwiki-calendar 1 doc/ikiwiki-calendar.mdwn > ikiwiki-calendar.man
        $(MAKE) -C po
-       $(SED) -i.bkp "s/Version:.*/Version: $$(perl -e '$$_=<>;print m/\((.*?)\)/'<debian/changelog)/" ikiwiki.spec
+       $(SED) -i.bkp "s/Version:.*/Version: $(VER)/" ikiwiki.spec
        rm -f ikiwiki.spec.bkp
        
 docwiki:
        rm -f ikiwiki.spec.bkp
        
 docwiki: