File: rules

package info (click to toggle)
nqc 3.1.r6-7
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 2,432 kB
  • ctags: 4,356
  • sloc: cpp: 27,206; lex: 319; yacc: 307; makefile: 134; ansic: 36; sh: 22; xml: 18
file content (28 lines) | stat: -rwxr-xr-x 580 bytes parent folder | download | duplicates (3)
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
27
28
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

include /usr/share/dpkg/buildflags.mk
CFLAGS+=$(CPPFLAGS)

PACKAGE = $(shell dh_listpackages)
TMP     = $(CURDIR)/debian/$(PACKAGE)

%:
	dh $@ 

override_dh_auto_build:
	echo $(CFLAGS)
	$(MAKE) DEFAULT_SERIAL_NAME='"/dev/rcx"'

override_dh_auto_install:

override_dh_installman:
	dh_installman
	mv $(TMP)/usr/share/man/man1/nqc-man-2.1r1-0.1 $(TMP)/usr/share/man/man1/nqc.1

override_dh_installexamples:
	dh_installexamples
	chmod -x $(TMP)/usr/share/doc/nqc/examples/test.nqc