forked from Hg/htlle-da-vorlage
Changed filenames to have no underscores. Updated makefile to wrtie a warning if there are underscores in filenames which are used during the build process. Closes #36
This commit is contained in:
parent
f6b7290893
commit
51251c0bae
12
Makefile
12
Makefile
@ -47,6 +47,18 @@ build-stage:
|
|||||||
@echo "Merging style files into the staging directory"
|
@echo "Merging style files into the staging directory"
|
||||||
@rsync -av $(STYLEDIR)/ $(STAGINGDIR)/style --quiet
|
@rsync -av $(STYLEDIR)/ $(STAGINGDIR)/style --quiet
|
||||||
|
|
||||||
|
# Prüfen auf Dateien mit Unterstrichen im Namen
|
||||||
|
@echo "Checking for files containing underscores in $(STAGINGDIR)..."
|
||||||
|
@files=$$(find $(STAGINGDIR) -type f -name '*_*'); \
|
||||||
|
if [ -n "$$files" ]; then \
|
||||||
|
echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"; \
|
||||||
|
echo "WARNING: Found files with underscores:"; \
|
||||||
|
echo " -> $$files"; \
|
||||||
|
echo "These files are very likely to cause issues during the build process"; \
|
||||||
|
echo "Remove or rename them to build the thesis safely"; \
|
||||||
|
echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"; \
|
||||||
|
fi
|
||||||
|
|
||||||
compile-output:
|
compile-output:
|
||||||
# Bauen der Arbeit aus dem staging verzeichnis heraus
|
# Bauen der Arbeit aus dem staging verzeichnis heraus
|
||||||
@echo "Compiling the thesis into: $(OUTPUTFILE)"
|
@echo "Compiling the thesis into: $(OUTPUTFILE)"
|
||||||
|
Loading…
Reference in New Issue
Block a user