Testing pre-hook

This commit is contained in:
Kenwood 2022-02-08 12:07:59 -05:00
parent 5d46c95808
commit 262e874897
2 changed files with 9 additions and 3 deletions

View File

@ -1,5 +1,5 @@
# Written by joe # Written by joe
# Revision da9d81f2 Revision 5d46c958-dirty
# Variables # Variables
REVISION := "$(shell git describe --abbrev=8 --dirty --always --tags)" REVISION := "$(shell git describe --abbrev=8 --dirty --always --tags)"
@ -27,7 +27,7 @@ pdf: copy
submit: pdf submit: pdf
rm -rvf $(SUBMITDIR) rm -rvf $(SUBMITDIR)
mkdir -p $(SUBMITDIR) mkdir -p $(SUBMITDIR)
find -type f '(' -name "*.tex*" -o -name "*.sty*" -o -name "*.bib" ')' -exec cp {} $(SUBMITDIR) \; find -type f '(' -name "*.tex*" -o -name "*.sty*" -o -name "*.bib" -o -name "Makefile" ')' -exec cp {} $(SUBMITDIR) \;
cd $(SUBMITDIR) && zip $(REVISION)_source.zip * cd $(SUBMITDIR) && zip $(REVISION)_source.zip *
cp $(BUILDDIR)/*.pdf $(SUBMITDIR) cp $(BUILDDIR)/*.pdf $(SUBMITDIR)
@ -36,7 +36,7 @@ submit: pdf
date >> $(SUBMITDIR)/README.md date >> $(SUBMITDIR)/README.md
# cleanup # cleanup
cd $(SUBMITDIR) && find -type f '(' -name "*.tex*" -o -name "*.sty*" -o -name "*.bib" ')' -exec rm {} \; cd $(SUBMITDIR) && find -type f '(' -name "*.tex*" -o -name "*.sty*" -o -name "*.bib" -o -name "Makefile" ')' -exec rm {} \;
# Clean all # Clean all
clean: clean:

6
test.txt Normal file
View File

@ -0,0 +1,6 @@
This
$(describe)
is
a
sed
test