diff options
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 |