~noskcaj/ubuntu/vivid/thunar/1.6.4

« back to all changes in this revision

Viewing changes to docs/manual/nl/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Lionel Le Folgoc
  • Date: 2010-12-04 16:46:20 UTC
  • mto: (2.1.3 experimental) (1.3.1)
  • mto: This revision was merged to the branch mainline in revision 69.
  • Revision ID: james.westby@ubuntu.com-20101204164620-h7p4t2e9z6hfhz6l
Tags: upstream-1.1.4
ImportĀ upstreamĀ versionĀ 1.1.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# $Id$
2
 
 
3
 
SUBDIRS =                                                               \
4
 
        images
5
 
 
6
 
TARGET_DIR = $(datadir)/doc/Thunar/html/nl
7
 
STYLESHEET = ../thunar.xsl
8
 
DOCUMENT = Thunar.xml
9
 
 
10
 
# We set GPATH here; this gives us semantics for GNU make
11
 
# which are more like other make's VPATH, when it comes to
12
 
# whether a source that is a target of one rule is then
13
 
# searched for in VPATH/GPATH.
14
 
GPATH = $(srcdir)
15
 
 
16
 
DOC_STAMPS = html-build.stamp
17
 
 
18
 
EXTRA_DIST = $(DOCUMENT)
19
 
CLEANFILES = $(DOC_STAMPS)
20
 
 
21
 
if ENABLE_XSLTPROC
22
 
all-local: html-build.stamp
23
 
 
24
 
html-build.stamp: $(srcdir)/$(DOCUMENT) $(srcdir)/$(STYLESHEET)
25
 
        @echo "*** Building HTML ***"
26
 
        @-chmod -R u+w $(srcdir)
27
 
        rm -rf $(srcdir)/html
28
 
        mkdir $(srcdir)/html
29
 
        $(XSLTPROC) --nonet -o $(srcdir)/html/ $(srcdir)/$(STYLESHEET) \
30
 
                $(srcdir)/$(DOCUMENT)
31
 
        touch html-build.stamp
32
 
else
33
 
all-local:
34
 
endif
35
 
 
36
 
maintainer-clean-local: clean
37
 
        (cd $(srcdir) && rm -rf html)
38
 
 
39
 
install-data-local:
40
 
        installfiles=`echo $(srcdir)/html/*`;                           \
41
 
        if test "$$installfiles" = '$(srcdir)/html/*'; then             \
42
 
                echo "--- Nothing to install";                          \
43
 
        else                                                            \
44
 
                $(mkinstalldirs) $(DESTDIR)$(TARGET_DIR);               \
45
 
                for file in $$installfiles; do                          \
46
 
                        echo "--- Installing "$$file;                   \
47
 
                        $(INSTALL_DATA) $$file $(DESTDIR)$(TARGET_DIR); \
48
 
                done;                                                   \
49
 
        fi
50
 
 
51
 
uninstall-local:
52
 
        rm -rf $(DESTDIR)$(TARGET_DIR)/*
53
 
 
54
 
if ENABLE_XSLTPROC
55
 
dist-check-xsltproc: all
56
 
else
57
 
dist-check-xsltproc:
58
 
        @echo "*** xsltproc must be installed and enabled in order to make dist"
59
 
        @false
60
 
endif
61
 
 
62
 
dist-hook: dist-check-xsltproc dist-hook-local
63
 
        mkdir $(distdir)/html
64
 
        -cp $(srcdir)/html/* $(distdir)/html
65
 
 
66
 
.PHONY: dist-hook-local
67
 
 
68
 
# vi:set ts=8 sw=8 noet ai nocindent syntax=automake: