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:
Günther Hutter 2024-04-17 23:03:28 +02:00
parent f6b7290893
commit 51251c0bae
6 changed files with 12 additions and 0 deletions

View File

@ -47,6 +47,18 @@ build-stage:
@echo "Merging style files into the staging directory"
@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:
# Bauen der Arbeit aus dem staging verzeichnis heraus
@echo "Compiling the thesis into: $(OUTPUTFILE)"