File: Makefile.in

package info (click to toggle)
cdebconf 0.74.2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 4,860 kB
  • ctags: 1,063
  • sloc: ansic: 10,240; sh: 457; makefile: 364; sql: 51; perl: 13
file content (23 lines) | stat: -rw-r--r-- 542 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
include ../globalmakeflags

VPATH = $(srcdir)/man

CENTER=Debconf
MANPAGES=dpkg-preconfigure.8 dpkg-reconfigure.8 debconf.7

all: $(MANPAGES)

$(MANPAGES): SFX=$(subst .,,$(suffix $@))

$(MANPAGES):
	@$(POD2MAN) --section=$(SFX) --center=$(CENTER) -d$(CENTER) $(srcdir)/man/$(basename $@).pod > $(basename $@).$(SFX)

install: $(MANPAGES)
	install -d -m 755 $(DESTDIR)${mandir}/man7
	install -d -m 755 $(DESTDIR)${mandir}/man8
	@for m in $(MANPAGES); do \
		install -m 644 $$m $(DESTDIR)${mandir}/man$${m#*.}/; \
	done

clean:
	rm -f *.[0-9]