summaryrefslogtreecommitdiff
path: root/user-guide/C/Makefile.am
blob: ac7cb4b73bdfe0891e53ebe44de7cc5a5bc37c41 (plain)
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
NULL=

LANG=C

DOC_MODULE=nautilus

SGML_DIR=$(datadir)/gnome/help

TARGET_DIR=$(SGML_DIR)/$(DOC_MODULE)/$(LANG)/

install-data-local: 
	$(mkinstalldirs) $(DESTDIR)$(TARGET_DIR) 
	installfiles=`echo $(srcdir)/sgml/*.sgml 		\
	$(srcdir)/img/*.png					\
	$(srcdir)/html/*.html`;					\
	if test "$$installfiles" = '$(srcdir)/sgml/*.sgml'; 	\
	then echo '-- Nothing to install' ; 			\
	else 							\
	for i in $$installfiles; do				\
		basefile=`basename $$i`;  			\
		$(INSTALL_DATA) $$i $(DESTDIR)$(TARGET_DIR)$$basefile; 	\
	done; 							\
	fi

dist-hook:
	mkdir $(distdir)/sgml 
	mkdir $(distdir)/html 
	mkdir $(distdir)/img
	-cp $(srcdir)/sgml/*.sgml $(distdir)/sgml
	-cp $(srcdir)/img/*.png $(distdir)/img
	-cp $(srcdir)/html/*.html $(distdir)/html