File: Makefile.am

package info (click to toggle)
owfs 3.2p3+dfsg1-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 8,688 kB
  • sloc: ansic: 65,085; pascal: 5,957; tcl: 2,688; makefile: 1,357; python: 1,114; sh: 891; cs: 623; php: 600; perl: 587; java: 404; ruby: 289; cpp: 105; asm: 102; xml: 53
file content (34 lines) | stat: -rw-r--r-- 887 bytes parent folder | download | duplicates (5)
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
## man sources
MANFILES = \
    owcapi.man owfs.man owftpd.man owhttpd.man owmon.man ownet.man \
    owserver.man owshell.man owtap.man
## .so includes
SOFILES = \
    cmdline_mini.1so configuration.1so description.1so \
    device.1so format.1so help.1so job_control.1so \
    persistent_thresholds.1so pressure.1so seealso.1so temperature.1so \
    timeout.1so
## man files that need no preprocessing
dist_man1_MANS = \
    libowcapi.1 \
    owdir.1 owget.1 owread.1 owwrite.1 owpresent.1 owexist.1 \
    ownetapi.1 ownetlib.1 libownet.1
## file to include in distribution
EXTRA_DIST = $(SOFILES) $(MANFILES)


if SOELIM

man1_MANS = $(addsuffix .1,$(basename $(MANFILES)))
CLEANFILES = $(man1_MANS)

# preproc man pages via soelim
$(man1_MANS): $(MANFILES) $(SOFILES)
%.1 :: %.man
	$(SOELIM) -r -I $(srcdir)/.. $< > $@

else !SOELIM

man1_MANS = $(MANFILES) $(SOFILES)

endif !SOELIM