Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 %:
4 dh $@
5
6 execute_after_dh_install:
7 # Remove extra licence files:
8 find $(CURDIR)/debian/fretsonfire-songs-sectoid -name License.txt -exec rm {} \;
9
10 ORIG_VERSION=$(shell head -n1 debian/changelog | sed 's/[a-zA-Z0-9-]* (\(.*\)-\([^-]\)*) .*/\1/')
11
12 ../Sectoid_Frets_on_Fire_Song_Pack.zip:
13 wget -O $@ http://www.nivel21.net/personal/sectoid/fretsonfire/Sectoid_Frets_on_Fire_Song_Pack.zip
14
15 get-orig-source: ../Sectoid_Frets_on_Fire_Song_Pack.zip
16 rm -rf fretsonfire-songs-sectoid-$(ORIG_VERSION) "Escape from chaosland" "Feelings" "Metal madness" "Ryu's theme" "War of freedom"
17 for i in $^; do unzip -o $$i; done
18 mkdir -p fretsonfire-songs-sectoid-$(ORIG_VERSION)
19 mv -f "Escape from chaosland" "Feelings" "Metal madness" "War of freedom" fretsonfire-songs-sectoid-$(ORIG_VERSION)
20 tar zcvf ../fretsonfire-songs-sectoid_$(ORIG_VERSION).orig.tar.gz fretsonfire-songs-sectoid-$(ORIG_VERSION)
21 rm -rf fretsonfire-songs-sectoid-$(ORIG_VERSION) "Ryu's theme"