File: Makefile.am

package info (click to toggle)
lpe 1.2.6.11
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 2,792 kB
  • ctags: 1,020
  • sloc: ansic: 12,804; sh: 10,515; makefile: 351; cs: 137; perl: 111; sed: 93
file content (21 lines) | stat: -rw-r--r-- 564 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
MAINTAINERCLEANFILES = lpe.1 Makefile.in

lpe.1: $(top_srcdir)/man/lpe.1.en
	cp $(top_srcdir)/man/lpe.1.en $(top_builddir)/man/lpe.1

clean-local:
	rm -f lpe.1

man_MANS = lpe.1

EXTRA_MANPAGES = lpe.1.bg lpe.1.cs lpe.1.de lpe.1.es lpe.1.fr lpe.1.pl \
		 lpe.1.ru

EXTRA_DIST = $(EXTRA_MANPAGES) lpe.1.en

install-data-hook:
	for m in $(EXTRA_MANPAGES); do \
		$(mkinstalldirs) $(mandir)/`echo $$m | sed -e "s,^.*\.1\.\(.*\)$$,\1/man1,"`; \
		$(INSTALL_DATA) $(top_srcdir)/man/$$m \
			$(mandir)/`echo $$m | sed -e "s,^\(.*\)\.1\.\(.*\)$$,\2/man1/\1.1,"`; \
	done