File: Makefile

package info (click to toggle)
pinentry 0.7.2-3
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 1,928 kB
  • ctags: 1,129
  • sloc: ansic: 8,459; sh: 3,662; cpp: 2,531; makefile: 182
file content (27 lines) | stat: -rw-r--r-- 624 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
20
21
22
23
24
25
26
27
packages = $(addprefix pinentry-, curses gtk gtk2 qt)
binaries = $(addprefix pinentry-, curses gtk gtk-2 qt)
suffixes = install manpages postinst prerm README.Debian
targets = $(foreach suffix,$(suffixes),$(foreach package,$(packages),$(package).$(suffix))) \
	$(foreach binary,$(binaries),$(binary).1)


all: $(targets)

pinentry-curses.%: pinentry.%.in
	m4 -P -Dflavor=curses $< >$@

pinentry-gtk.%: pinentry.%.in
	m4 -P -Dflavor=gtk $< >$@

pinentry-gtk2.% pinentry-gtk-2.%: pinentry.%.in
	m4 -P -Dflavor=gtk-2 $< >$@

pinentry-qt.%: pinentry.%.in
	m4 -P -Dflavor=qt $< >$@


clean:
	rm -f $(targets)


.PHONY: all clean