File: rules

package info (click to toggle)
athena-jot 9.0-8
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 196 kB
  • sloc: ansic: 433; sh: 175; makefile: 42
file content (24 lines) | stat: -rwxr-xr-x 701 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
#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
#export DH_VERBOSE = 1

# see FEATURE AREAS in dpkg-buildflags(1)
#export DEB_BUILD_MAINT_OPTIONS = hardening=+all

-include /usr/share/dpkg/buildtools.mk
export CC

%:
	dh $@

# dh_make generated override targets
# This is example for Cmake (See https://bugs.debian.org/641051 )
override_dh_auto_install:
	dh_auto_install
	mv $(CURDIR)/debian/athena-jot/usr/bin/jot $(CURDIR)/debian/athena-jot/usr/bin/athena-jot
	mv $(CURDIR)/debian/athena-jot/usr/share/man/man1/jot.1 $(CURDIR)/debian/athena-jot/usr/share/man/man1/athena-jot.1

override_dh_clean:
	dh_clean
	rm -f config.h