diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2014-10-26 12:33:50 +0400 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2014-10-26 12:33:50 +0400 |
commit | 47e6e7c84f008a53061e661f31ae96629bc694ef (patch) | |
tree | 648a07f3b5b9d67ce19b0fd72e8caa1175c98f1a /man/html/images/GNUmakefile | |
download | pcp-debian/3.9.10.tar.gz |
Debian 3.9.10debian/3.9.10debian
Diffstat (limited to 'man/html/images/GNUmakefile')
-rw-r--r-- | man/html/images/GNUmakefile | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/man/html/images/GNUmakefile b/man/html/images/GNUmakefile new file mode 100644 index 0000000..ee2b571 --- /dev/null +++ b/man/html/images/GNUmakefile @@ -0,0 +1,27 @@ +TOPDIR = ../../.. +include $(TOPDIR)/src/include/builddefs + +ICOFILES = $(shell echo *.ico) +PNGFILES = $(shell echo *.png) +SVGFILES = $(shell echo *.svg) +LSRCFILES = $(ICOFILES) $(PNGFILES) $(SVGFILES) +ICONLINKS = pcpicon.png pmcharticon.png pmtimeicon.png stepfwd_on.png system-search.png +INSTFILES = $(shell echo $(ICONLINKS) $(ICOFILES) $(PNGFILES) | tr ' ' '\n' | sort -u) +LDIRT = $(ICONLINKS) + +default: + @for l in $(ICONLINKS) ; do \ + if [ ! -L $$l -a ! -f $$l ] ; then \ + $(LN_S) $(TOPDIR)/images/$$l $$l ; \ + fi \ + done + +include $(BUILDRULES) + +install: default + $(INSTALL) -m 755 -d $(PCP_BOOKS_DIR)/html/images + $(INSTALL) -m 644 $(INSTFILES) $(PCP_BOOKS_DIR)/html/images + +default_pcp : default + +install_pcp : install |