浏览代码

Remove a few files from target directory output

NEWTESTIMONIALPAGES
Reinhard Müller 5 个月前
父节点
当前提交
07ac7e3d34
共有 3 个文件被更改,包括 16 次插入9 次删除
  1. 0
    2
      about/.directory
  2. 0
    4
      about/albers/svn-commit.tmp
  3. 16
    3
      build/makerules.sh

+ 0
- 2
about/.directory 查看文件

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

+ 0
- 4
about/albers/svn-commit.tmp 查看文件

@@ -1,4 +0,0 @@
update me
--This line, and those below, will be ignored--

M albers.en.xhtml

+ 16
- 3
build/makerules.sh 查看文件

@@ -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)/%

正在加载...
取消
保存