Remove a few files from target directory output
All checks were successful
the build was successful

This commit is contained in:
Reinhard Müller 2019-03-11 22:49:38 +01:00
parent 7f9f58c28c
commit 07ac7e3d34
3 changed files with 16 additions and 9 deletions

View File

@ -1,2 +0,0 @@
[Dolphin]
Timestamp=2011,2,17,20,27,36

View File

@ -1,4 +0,0 @@
update me
--This line, and those below, will be ignored--
M albers.en.xhtml

View File

@ -210,10 +210,23 @@ EOF
# -----------------------------------------------------------------------------
# All files which should just be copied over
COPY_SRC_FILES := \$(shell find \$(INPUTDIR) -type f -not -path '\$(INPUTDIR)/.git/*' -not -name 'Makefile' -not -name '*.sources' -not -name "*.xmllist" -not -name '*.xhtml' -not -name '*.xml' -not -name '*.xsl')
COPY_SRC_FILES := \$(shell find \$(INPUTDIR) -type f \
-not -path '\$(INPUTDIR)/.git/*' \
-not -path '\$(INPUTDIR)/build/*' \
-not -path '\$(INPUTDIR)/tools/*' \
-not -name '.drone.yml' \
-not -name '.gitignore' \
-not -name 'README*' \
-not -name 'Makefile' \
-not -name '*.sources' \
-not -name "*.xmllist" \
-not -name '*.xhtml' \
-not -name '*.xml' \
-not -name '*.xsl' \
)
# The same as above, but moved to the output directory
COPY_DST_FILES := \$(patsubst \$(INPUTDIR)/%,\$(OUTPUTDIR)/%,\$(COPY_SRC_FILES))
COPY_DST_FILES := \$(sort \$(patsubst \$(INPUTDIR)/%,\$(OUTPUTDIR)/%,\$(COPY_SRC_FILES)))
all: \$(COPY_DST_FILES)
\$(COPY_DST_FILES): \$(OUTPUTDIR)/%: \$(INPUTDIR)/%
@ -224,7 +237,7 @@ all: \$(COPY_DST_FILES)
# Copy .xhtml files to "source" directory in target directory tree
# -----------------------------------------------------------------------------
SOURCE_DST_FILES := \$(patsubst \$(INPUTDIR)/%,\$(OUTPUTDIR)/source/%,\$(HTML_SRC_FILES))
SOURCE_DST_FILES := \$(sort \$(patsubst \$(INPUTDIR)/%,\$(OUTPUTDIR)/source/%,\$(HTML_SRC_FILES)))
all: \$(SOURCE_DST_FILES)
\$(SOURCE_DST_FILES): \$(OUTPUTDIR)/source/%: \$(INPUTDIR)/%