File: Makefile.am

package info (click to toggle)
lxrandr 0.3.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 1,152 kB
  • sloc: sh: 1,256; ansic: 752; makefile: 44; xml: 40; python: 6
file content (28 lines) | stat: -rw-r--r-- 640 bytes parent folder | download | duplicates (2)
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
man_in_files = lxrandr.xml

man_MANS = $(man_in_files:.xml=.1)

if ENABLE_REGENERATE_MAN
.xml.1:
	$(XSLTPROC) -o $@ -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
else
$(man_MANS):
	@echo ""
	@echo "Error: you need to run configure with '--enable-man'"
	@echo "       in order to regenerate man pages."
	@echo ""
	@false
endif

desktop_in_files = lxrandr.desktop.in
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
@INTLTOOL_DESKTOP_RULE@
desktopdir=$(datadir)/applications

DISTCLEANFILES = $(desktop_DATA)

EXTRA_DIST = \
	$(man_MANS) \
	$(man_in_files) \
	$(desktop_DATA) \
	$(desktop_in_files)