diff --git a/Makefile b/Makefile index b742818..425e843 100644 --- a/Makefile +++ b/Makefile @@ -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)" diff --git a/example/31-ausarbeitung_schueler1.md b/example/31-ausarbeitung-schueler1.md similarity index 100% rename from example/31-ausarbeitung_schueler1.md rename to example/31-ausarbeitung-schueler1.md diff --git a/example/32-ausarbeitung_schueler2.md b/example/32-ausarbeitung-schueler2.md similarity index 100% rename from example/32-ausarbeitung_schueler2.md rename to example/32-ausarbeitung-schueler2.md diff --git a/example/doc/HTLLEDiplomarbeitsidee_NAME1_NAME2.xlsx b/example/doc/HTLLEDiplomarbeitsidee-NAME1-NAME2.xlsx similarity index 100% rename from example/doc/HTLLEDiplomarbeitsidee_NAME1_NAME2.xlsx rename to example/doc/HTLLEDiplomarbeitsidee-NAME1-NAME2.xlsx diff --git a/example/doc/VorlageDA-Präsentation2020_Erstpräsentation.pptx b/example/doc/VorlageDA-Präsentation-NAME.pptx similarity index 100% rename from example/doc/VorlageDA-Präsentation2020_Erstpräsentation.pptx rename to example/doc/VorlageDA-Präsentation-NAME.pptx diff --git a/example/doc/VorlagePoster(A0)_2016.ppt b/example/doc/VorlagePoster(A0).ppt similarity index 100% rename from example/doc/VorlagePoster(A0)_2016.ppt rename to example/doc/VorlagePoster(A0).ppt