/usr/share/doc/lirc/plugindocs/Makefile is in lirc-doc 0.10.0-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | # Post-installation generation of plugin docs and programs.html.
# Uses hardcore GNU Make addons not likely to run on any other
# make implementation
#
HERE = $(dir $(abspath $(lastword $(MAKEFILE_LIST))))
THERE = $(HERE)/var
INDEX = $(THERE)/index.html
SRC = $(wildcard $(HERE)/*.html)
DOCS = $(subst $(HERE), $(THERE), $(SRC))
STYLESHEETS = $(HERE)/plugpage.xsl $(HERE)/page.xsl \
all: update
update: $(DOCS) $(INDEX)
$(DOCS): $(SRC) $(STYLESHEETS)
if test -n "$(SRC)"; then \
sh $(HERE)/make-ext-driver-toc.sh $(SRC) \
> $(THERE)/ext-driver-toc.xsl; \
xsltproc --html $(HERE)/plugpage.xsl \
$(subst $(THERE), $(HERE), $@) > $@; \
fi
$(THERE)/ext-driver-toc.xsl: $(SRC)
sh $(HERE)/make-ext-driver-toc.sh $(SRC) > $@
$(INDEX): $(HERE)/index.tmpl $(STYLESHEETS) $(SRC)
if [ -n "$(SRC)" ]; then \
sh $(HERE)/make-ext-driver-toc.sh $(SRC) \
> $(THERE)/ext-driver-toc.xsl; \
xsltproc --html $(HERE)/plugpage.xsl $(HERE)/index.tmpl > $@; \
else \
cp empty_index.tmpl $@; \
fi
|