File: rules

package info (click to toggle)
muse 4.2.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 47,704 kB
  • sloc: cpp: 251,565; ansic: 13,868; python: 1,916; sh: 113; xml: 60; perl: 50; makefile: 19
file content (26 lines) | stat: -rwxr-xr-x 852 bytes parent folder | download | duplicates (2)
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
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@ -Dsrc

override_dh_clean:
	dh_clean -Xmuse/widgets/arrangercolumns.cpp~ \
		-Xmuse/widgets/arrangercolumns.h~ -X*~

override_dh_auto_configure:
	dh_auto_configure -- -DLIB_INSTALL_DIR=/usr/lib

override_dh_install:
	dh_install -pmuse
	find $(CURDIR)/debian/muse/ -name "COPYING*" -delete
	find $(CURDIR)/debian/muse/ -name "LICENSE" -delete
	find $(CURDIR)/debian/muse/ -name "ChangeLog*" -delete
	find $(CURDIR)/debian/muse/ -name "*.win32" -delete
	# the icon has the wrong size, 150x150, so we scale it down for now
	convert $(CURDIR)/src/packaging/muse128x128.png -resize 128x128 \
		$(CURDIR)/debian/muse/usr/share/icons/hicolor/128x128/apps/muse.png
	cd $(CURDIR)/debian/muse/usr/share/doc/muse && \
		mv muse_html/single/documentation/ html/ && \
		rm -rf muse_html