~armagetronad-dev/armagetronad/0.2.9-build-work

« back to all changes in this revision

Viewing changes to WorkMakefile

  • Committer: Manuel Moos
  • Date: 2020-02-23 21:23:42 UTC
  • Revision ID: z-man@users.sf.net-20200223212342-p4abqd3xy1bvvstd
Also rebrand man folder

Show diffs side-by-side

added added

removed removed

Lines of Context:
397
397
        git -C ../ubuntu pull || { HOME=/noway git clone https://gitlab.com/armagetronad/ubuntu-packaging.git ../ubuntu && git -C ../ubuntu checkout ubuntu-bionic-0.2.8.3; }
398
398
        cp -ax ../ubuntu/debian $(UBUNTUSOURCEDIR)$*/debian
399
399
#   rebrand package
400
 
        cd $(UBUNTUSOURCEDIR)$*/debian/; for f in * bin/* source/*; do dest=$$(echo $$f | sed -e "s,armagetronad,${PACKAGE},g"); test -d $$f || { sed -e "s/armagetronad/${PACKAGE}/g" < $$f | sed -e "s/${PACKAGE}\.net/armagetronad.net/g" --e "s/${PACKAGE}\.source/armagetronad.source/g" > $$dest.out; rm $$f; mv $$dest.out $$dest; } done
 
400
        cd $(UBUNTUSOURCEDIR)$*/debian/; for f in * bin/* source/* man/*; do dest=$$(echo $$f | sed -e "s,armagetronad,${PACKAGE},g"); test -d $$f || { sed -e "s/armagetronad/${PACKAGE}/g" < $$f | sed -e "s/${PACKAGE}\.net/armagetronad.net/g" --e "s/${PACKAGE}\.source/armagetronad.source/g" > $$dest.out; rm $$f; mv $$dest.out $$dest; } done
401
401
        chmod 755 $(UBUNTUSOURCEDIR)$*/debian/rules
402
402
#   build changelog
403
403
        DIST="`echo $* | sed -e s/^[0-9]*// -e s/.*~//`"; test -z $$DIST && DIST=hardy; sed -e "s/@distribution@/$$DIST/g" -e "s/@package@/$(PACKAGE)/g" -e "s/@version@/${DEBVERSION}$*/g" -e "s;@date@;$$(date -R);g" < doc/ubuntu-changelog.txt > $(UBUNTUSOURCEDIR)$*/debian/changelog