File: Makefile

package info (click to toggle)
manpages-hu 20010119-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,820 kB
  • ctags: 2
  • sloc: lisp: 56; makefile: 47
file content (19 lines) | stat: -rw-r--r-- 584 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

DMANDIR=$(DESTDIR)/usr/share/man/hu
SMANDIR=usr/share/man/hu

clean:
	echo "Nope"

install:
	for i in 1 2 3 4 5 6 7 8 9; do \
	   if [ -d $(SMANDIR)/man$$i ] ; then \
	      install -d -g root -o root -m 755 $(DMANDIR)/man$$i; \
	      install -g root -o root -m 644 $(SMANDIR)/man$$i/* $(DMANDIR)/man$$i; \
	   fi; \
	done
	rm $(DMANDIR)/man1/man.1
	rm $(DMANDIR)/man1/apropos.1
	mv $(DMANDIR)/man1/awk.1 $(DMANDIR)/man1/gawk.1
	install -d -m 755 -g root -o root $(DESTDIR)/usr/share/doc/manpages-hu
	install -g root -o root -m 644 debian/doc/* $(DESTDIR)/usr/share/doc/manpages-hu