Changeset - r23:929a09a486f8
[Not reviewed]
v0.6 default
0 1 0
Wolfgang Scherer (ws) - 13 years ago 2012-03-31 14:41:15
wolfgang.scherer@gmx.de
doc/Makefile: install images also.
1 file changed with 12 insertions and 0 deletions:
0 comments (0 inline, 0 general)
doc/Makefile
Show inline comments
 
@@ -5,21 +5,27 @@ srcdir = .
 

	
 
base_dir=$(shell pwd)
 

	
 
INPUTS =
 
TXTS = 
 
HTML_TXTS = 
 
JPGS = 
 
EXTRA_DIST =
 
CLEANFILES =
 

	
 
TXTS += README.txt
 
TXTS += README-de.txt
 
HTML_TXTS += index.txt
 
HTML_TXTS += README-GFDL.txt
 
HTML_TXTS += README-COPYING.txt
 

	
 
JPGS += ws-vacation.jpg
 
JPGS += ws-vacation-t.jpg
 
JPGS += ws-vacation-user.jpg
 
JPGS += ws-vacation-user-t.jpg
 

	
 
# use cp for Windows
 
LN_S = cp
 
LN_S = ln -s
 

	
 
TXT_PDFS = $(patsubst %.txt,%.pdf,$(TXTS))
 
TXT_HTMLS = $(patsubst %.txt,%.html,$(TXTS)) $(patsubst %.txt,%.html,$(HTML_TXTS))
 
@@ -30,12 +36,13 @@ SNIPPETS = ../lib/snippets.pl
 

	
 
DISTFILES =
 
DISTFILES += Makefile
 
DISTFILES += $(TXTS)
 
DISTFILES += $(TXT_PDFS)
 
DISTFILES += $(TXT_HTMLS)
 
DISTFILES += $(JPEGS)
 
DISTFILES += $(EXTRA_DIST)
 

	
 
%: %.in
 
	cat $< | $(SNIPPETS) --process --replace --mode text --key base_dir --value $(base_dir) --cat - >$@
 
	test -s $@ || ( rm -f $@ && test 1 = 0 )
 

	
 
@@ -73,12 +80,17 @@ install: all
 
	mkdir -p $(install_dir);			\
 
	list='$(TXT_HTMLS)'; test -z "$$list" ||	\
 
	for file in $$list; do				\
 
	    echo "cp $$file $(install_dir)/";		\
 
	    cp $$file $(install_dir)/;			\
 
	done;						\
 
	list='$(JPGS)'; test -z "$$list" ||		\
 
	for file in $$list; do				\
 
	    echo "cp $$file $(install_dir)/";		\
 
	    cp $$file $(install_dir)/;			\
 
	done;						\
 
	)						\
 
	)
 

	
 
dist:
 

	
 
tags-rc:
0 comments (0 inline, 0 general)