File: rules

package info (click to toggle)
spectools 201601r1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 1,272 kB
  • ctags: 1,837
  • sloc: ansic: 18,708; sh: 2,476; makefile: 85
file content (19 lines) | stat: -rwxr-xr-x 581 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f
# -*- makefile -*-

# enable all hardening flags
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_configure:
	cp -f /usr/share/misc/config.sub $(CURDIR)/config.sub
	cp -f /usr/share/misc/config.guess $(CURDIR)/config.guess
	dh_auto_configure

override_dh_auto_install:
	dh_auto_install
	cp $(CURDIR)/99-wispy.rules $(CURDIR)/debian/spectools/lib/udev/rules.d/
	cp $(CURDIR)/debian/spectool_gtk.desktop $(CURDIR)/debian/spectools/usr/share/applications/
	cp $(CURDIR)/debian/spectool_*.1 $(CURDIR)/debian/spectools/usr/share/man/man1/