summaryrefslogtreecommitdiff
path: root/doc/sv/Makefile.in
blob: e08602a08d695a7dc8348ec32a39091b2e3d7cc7 (plain)
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
VPATH		= @srcdir@
srcdir		= @srcdir@
top_srcdir	= @top_srcdir@

include ../../Makefile.conf

#svman1dir	= $(subst $(mandir),$(mandir)/sv,$(man1dir))
svman5dir	= $(subst $(mandir),$(mandir)/sv,$(man5dir))
svman8dir	= $(subst $(mandir),$(mandir)/sv,$(man8dir))

#MAN1PAGES	= dpkg-deb.1 md5sum.1
#MAN8PAGES	= dpkg.8 dselect.8 install-info.8 start-stop-daemon.8 \
#		  update-alternatives.8 update-rc.d.8

MAN1PAGES	= md5sum.1
MAN5PAGES	= deb.5 deb-control.5 deb-old.5
MAN8PAGES	= dpkg.8 dselect.8 start-stop-daemon.8

all: 

clean: 

distclean: clean 
	rm -f Makefile

install: install-doc

install-program:

install-doc:
	$(mkinstalldirs) $(DESTDIR)$(svman1dir) 
	set -e ; for i in $(MAN1PAGES) ; do \
	    if test -f $$i ; then d= ; else d="$(srcdir)/" ; fi ; \
	    $(INSTALL_DATA) $$d$$i $(DESTDIR)$(svman1dir) ; \
	done
	$(mkinstalldirs) $(DESTDIR)$(svman5dir) 
	set -e ; for i in $(MAN5PAGES) ; do \
	    if test -f $$i ; then d= ; else d="$(srcdir)/" ; fi ; \
	    $(INSTALL_DATA) $$d$$i $(DESTDIR)$(svman5dir) ; \
	done
	$(mkinstalldirs) $(DESTDIR)$(svman8dir) 
	set -e ; for i in $(MAN8PAGES) ; do \
	    if test -f $$i ; then d= ; else d="$(srcdir)/" ; fi ; \
	    $(INSTALL_DATA) $$d$$i $(DESTDIR)$(svman8dir) ; \
	done

.PHONY: all clean distclean install install-doc install-program