File: Makefile.am

package info (click to toggle)
lcas-lcmaps-gt4-interface 0.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, forky, sid, trixie
  • size: 1,884 kB
  • ctags: 246
  • sloc: sh: 11,106; ansic: 1,354; makefile: 155
file content (35 lines) | stat: -rw-r--r-- 835 bytes parent folder | download
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
include $(top_srcdir)/common.am

mandir = $(datadir)/man

man_MANS = \
	lcas_lcmaps_gt_interface.8 \
	gt4-interface-install.8 \
	lcas_lcmaps_gt4_interface.8

# Make sure they are cleaned, since made using the template.
CLEANFILES = $(man_MANS)

# These are used for make dist, don't use dist_man_MANS since it confuses some
# autotools so add man_INPUT by hand using EXTRA_DIST
man_INPUT = \
	lcas_lcmaps_gt_interface.8.src \
	gt4-interface-install.8.src

EXTRA_DIST = \
	$(man_INPUT)

gt4-interface-install.8 : gt4-interface-install.8.src
	@echo Making $@ from template
	@rm -f $@
	$(edit) $< > $@

lcas_lcmaps_gt_interface.8 : lcas_lcmaps_gt_interface.8.src
	@echo Making $@ from template
	@rm -f $@
	$(edit) $< > $@

lcas_lcmaps_gt4_interface.8 : lcas_lcmaps_gt_interface.8
	@echo Creating symlink $@ to $<
	@rm -f $@
	@ln -s $< $@