File: rules

package info (click to toggle)
aliki 0.3.0-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 828 kB
  • sloc: cpp: 7,518; makefile: 45
file content (17 lines) | stat: -rwxr-xr-x 502 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

export LDLIBS += -Wl,--as-needed

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

export DESTDIR = debian/tmp

%:
	dh $@ --sourcedir=source

override_dh_auto_install:
	dh_auto_install --destdir=debian/tmp
	install -d $(CURDIR)/$(DESTDIR)/usr/share/applications/
	install -d $(CURDIR)/$(DESTDIR)/usr/share/pixmaps/
	install -m 644 $(CURDIR)/debian/*.desktop $(CURDIR)/$(DESTDIR)/usr/share/applications/
	install -m 644 $(CURDIR)/debian/*.xpm $(CURDIR)/$(DESTDIR)/usr/share/pixmaps/