File: rules

package info (click to toggle)
dyndns 2016.1021-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 492 kB
  • sloc: perl: 3,358; makefile: 167
file content (20 lines) | stat: -rwxr-xr-x 347 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/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  $@