File: rules

package info (click to toggle)
minetest-mod-throwing 1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 776 kB
  • sloc: makefile: 24
file content (28 lines) | stat: -rwxr-xr-x 890 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/usr/bin/make -f

%:
	dh $@

override_dh_auto_build:
	mv throwing/README.md README.throwing.md
	mv throwing/LICENSE.txt LICENSE.throwing.txt
	mv throwing_arrows/README.md README.throwing_arrows.md
	mv throwing_arrows/LICENSE.txt LICENSE.throwing_arrows.txt
	mv throwing_arrows/screenshot.png screenshot.throwing_arrows.png

override_dh_auto_clean:
	if test -f README.throwing.md; then \
		mv README.throwing.md throwing/README.md ; \
	fi
	if test -f LICENSE.throwing.txt; then \
		mv LICENSE.throwing.txt throwing/LICENSE.txt ; \
	fi
	if test -f README.throwing_arrows.md; then \
		mv README.throwing_arrows.md throwing_arrows/README.md ; \
	fi
	if test -f LICENSE.throwing_arrows.txt; then \
		mv LICENSE.throwing_arrows.txt throwing_arrows/LICENSE.txt ; \
	fi
	if test -f screenshot.throwing_arrows.png; then \
		mv screenshot.throwing_arrows.png throwing_arrows/screenshot.png ; \
	fi