ODT
/
rero-ils-css
Archived
1
0
Fork 0

archive: put only `ils` directory in archive

Co-Authored-by: Olivier DOSSMANN <git@dossmann.net>
master
Olivier DOSSMANN 2020-01-23 11:26:51 +01:00
parent d2021d368c
commit ca056a9134
2 changed files with 18 additions and 2 deletions

View File

@ -5,13 +5,18 @@ all: static.tar.gz static-pilot.tar.gz
static.tar.gz: static.tar.gz:
$Qmkdir static $Qmkdir static
$Qcp -r ils static/ $Qcp -r ils static/
$Qtar cfz static.tar.gz static/ $Qcd static/
$Qtar cfz static.tar.gz ils/
$Qcd - > /dev/null 2>&1
static-pilot.tar.gz: logo-global.pilot.png static-pilot.tar.gz: logo-global.pilot.png
$Qmkdir static-pilot $Qmkdir static-pilot
$Qcp -r ils static-pilot/ $Qcp -r ils static-pilot/
$Qcp logo-global.pilot.png static-pilot/ils/images/logo-global.png $Qcp logo-global.pilot.png static-pilot/ils/images/logo-global.png
$Qtar cfz static-pilot.tar.gz static-pilot/ $Qcd static-pilot/
$Qtar cfz static-pilot.tar.gz ils/
$Qcd - > /dev/null 2>&1
clean: clean:
$Qrm -rf static/ static-pilot/ static.tar.gz static-pilot.tar.gz $Qrm -rf static/ static-pilot/ static.tar.gz static-pilot.tar.gz

11
README.md 100644
View File

@ -0,0 +1,11 @@
# HOWTO
```
make clean
make
```
generates:
* static.tar.gz: files for all rero-ils instances
* static.tar.gz: files for rero-ils **pilot** instance (with a specific logo-global.png file)