File: rules

package info (click to toggle)
mpdcron 0.3%2Bgit20161228-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster
  • size: 1,304 kB
  • sloc: ansic: 12,825; ruby: 587; makefile: 178; sh: 95
file content (25 lines) | stat: -rwxr-xr-x 768 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
#!/usr/bin/make -f

%:
	dh $@

override_dh_auto_clean:
	dh_auto_clean
	# nasty...
	rm -f config.guess config.h.in config.sub configure \
	      data/Makefile.in depcomp install-sh ltmain.sh \
	      m4/libtool.m4 m4/ltoptions.m4 m4/ltsugar.m4 \
	      m4/ltversion.m4 m4/lt~obsolete.m4 missing \
	      src/Makefile.in src/gmodule/Makefile.in \
	      src/gmodule/notification/Makefile.in \
	      src/gmodule/scrobbler/Makefile.in \
	      src/gmodule/stats/Makefile.in \
	      zsh-completion/Makefile.in

override_dh_install:
	find $(CURDIR)/debian/mpdcron/ -name *.la -exec rm {} \;
	find $(CURDIR)/debian/mpdcron/ -name *.a -exec rm {} \;

override_dh_auto_configure:
	./autogen.sh
	dh_auto_configure -- --with-standard-modules=all --enable-gmodule --prefix=/usr