Skip to content

Commit b272152

Browse files
authored
Makefile: removed obsolete CFGDIR code (danmar#6895)
this is a left-over from its removal in a17f2a6
1 parent 100f99f commit b272152

File tree

2 files changed

+0
-19
lines changed

2 files changed

+0
-19
lines changed

Makefile

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -438,16 +438,6 @@ ifdef FILESDIR
438438
rm -rf ${DESTDIR}${FILESDIR}; \
439439
fi
440440
endif
441-
ifdef CFGDIR
442-
@if test -d ${DESTDIR}${CFGDIR}; then \
443-
files="`cd cfg 2>/dev/null && ls`"; \
444-
if test -n "$$files"; then \
445-
echo '(' cd ${DESTDIR}${CFGDIR} '&&' rm -f $$files ')'; \
446-
( cd ${DESTDIR}${CFGDIR} && rm -f $$files ); \
447-
fi; \
448-
fi
449-
endif
450-
451441
# Validation of library files:
452442
ConfigFiles := $(wildcard cfg/*.cfg)
453443
ConfigFilesCHECKED := $(patsubst %.cfg,%.checked,$(ConfigFiles))

tools/dmake/dmake.cpp

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -822,15 +822,6 @@ int main(int argc, char **argv)
822822
fout << "\t rm -rf ${DESTDIR}${FILESDIR}; \\\n";
823823
fout << "\tfi\n";
824824
fout << "endif\n";
825-
fout << "ifdef CFGDIR \n";
826-
fout << "\t@if test -d ${DESTDIR}${CFGDIR}; then \\\n";
827-
fout << "\t files=\"`cd cfg 2>/dev/null && ls`\"; \\\n";
828-
fout << "\t if test -n \"$$files\"; then \\\n";
829-
fout << "\t echo '(' cd ${DESTDIR}${CFGDIR} '&&' rm -f $$files ')'; \\\n";
830-
fout << "\t ( cd ${DESTDIR}${CFGDIR} && rm -f $$files ); \\\n";
831-
fout << "\t fi; \\\n";
832-
fout << "\tfi\n";
833-
fout << "endif\n\n";
834825
fout << "# Validation of library files:\n";
835826
fout << "ConfigFiles := $(wildcard cfg/*.cfg)\n";
836827
fout << "ConfigFilesCHECKED := $(patsubst %.cfg,%.checked,$(ConfigFiles))\n";

0 commit comments

Comments
 (0)