Browse Source

Remove a few files from target directory output

master
Reinhard Müller 4 months ago
parent
commit
07ac7e3d34
3 changed files with 16 additions and 9 deletions
  1. 0
    2
      about/.directory
  2. 0
    4
      about/albers/svn-commit.tmp
  3. 16
    3
      build/makerules.sh

+ 0
- 2
about/.directory View File

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

+ 0
- 4
about/albers/svn-commit.tmp View File

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

+ 16
- 3
build/makerules.sh View File

@@ -210,10 +210,23 @@ EOF
210 210
 # -----------------------------------------------------------------------------
211 211
 
212 212
 # All files which should just be copied over
213
-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')
213
+COPY_SRC_FILES := \$(shell find \$(INPUTDIR) -type f \
214
+  -not -path '\$(INPUTDIR)/.git/*' \
215
+  -not -path '\$(INPUTDIR)/build/*' \
216
+  -not -path '\$(INPUTDIR)/tools/*' \
217
+  -not -name '.drone.yml' \
218
+  -not -name '.gitignore' \
219
+  -not -name 'README*' \
220
+  -not -name 'Makefile' \
221
+  -not -name '*.sources' \
222
+  -not -name "*.xmllist" \
223
+  -not -name '*.xhtml' \
224
+  -not -name '*.xml' \
225
+  -not -name '*.xsl' \
226
+)
214 227
 
215 228
 # The same as above, but moved to the output directory
216
-COPY_DST_FILES := \$(patsubst \$(INPUTDIR)/%,\$(OUTPUTDIR)/%,\$(COPY_SRC_FILES))
229
+COPY_DST_FILES := \$(sort \$(patsubst \$(INPUTDIR)/%,\$(OUTPUTDIR)/%,\$(COPY_SRC_FILES)))
217 230
 
218 231
 all: \$(COPY_DST_FILES)
219 232
 \$(COPY_DST_FILES): \$(OUTPUTDIR)/%: \$(INPUTDIR)/%
@@ -224,7 +237,7 @@ all: \$(COPY_DST_FILES)
224 237
 # Copy .xhtml files to "source" directory in target directory tree
225 238
 # -----------------------------------------------------------------------------
226 239
 
227
-SOURCE_DST_FILES := \$(patsubst \$(INPUTDIR)/%,\$(OUTPUTDIR)/source/%,\$(HTML_SRC_FILES))
240
+SOURCE_DST_FILES := \$(sort \$(patsubst \$(INPUTDIR)/%,\$(OUTPUTDIR)/source/%,\$(HTML_SRC_FILES)))
228 241
 
229 242
 all: \$(SOURCE_DST_FILES)
230 243
 \$(SOURCE_DST_FILES): \$(OUTPUTDIR)/source/%: \$(INPUTDIR)/%

Loading…
Cancel
Save