add an archive rule
authorMazet Laurent <laurent.mazet@thalesgroup.com>
Wed, 28 May 2025 14:59:47 +0000 (16:59 +0200)
committerMazet Laurent <laurent.mazet@thalesgroup.com>
Wed, 28 May 2025 14:59:47 +0000 (16:59 +0200)
makefile

index 1fcd3b31b1b0d436c641ff1637d1cedca17ca955..ed24c095e25e3e6ffc668377f72e6b52ff90fdaf 100644 (file)
--- a/makefile
+++ b/makefile
@@ -134,6 +134,9 @@ tests:
        $(MAKE) all
        $(MAKE) $(addprefix test_,$(ALLEXE))
 
+archive: wipe documentation
+       name=`basename "$$(pwd)"`; cd ..; tar cvz --exclude='.git*' -f $$name-`date +%Y%m%d`.tgz $$name
+
 ## Main rules
 
 include $(wildcard *.d)