File: rules

package info (click to toggle)
dyndns 2016.1021-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 492 kB
  • ctags: 163
  • sloc: perl: 3,358; makefile: 167
file content (22 lines) | stat: -rwxr-xr-x 362 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
#!/usr/bin/make -f

PACKAGE = dyndns
DOCDIR  = debian/$(PACKAGE)/usr/share/doc/$(PACKAGE)/doc

override_dh_auto_install:
	$(MAKE) prefix=/usr \
		DESTDIR=debian/$(PACKAGE) \
		INSTALL_OBJS_DOC="" \
		DOCDIR=$(DOCDIR) \
		PERL=perl \
		install

	mv $(DOCDIR)/examples $(DOCDIR)/..

	# Nothing but manual pages, remove
	rm -rf $(DOCDIR)

%:
	dh  $@

# End of file