Browse Source

archive: put only `ils` directory in archive

Co-Authored-by: Olivier DOSSMANN <git@dossmann.net>
tags/0.5.2-dev
Olivier DOSSMANN 9 months ago
parent
commit
ca056a9134
2 changed files with 18 additions and 2 deletions
  1. +7
    -2
      Makefile
  2. +11
    -0
      README.md

+ 7
- 2
Makefile View File

@@ -5,13 +5,18 @@ all: static.tar.gz static-pilot.tar.gz
static.tar.gz:
$Qmkdir 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
$Qmkdir static-pilot
$Qcp -r ils static-pilot/
$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:
$Qrm -rf static/ static-pilot/ static.tar.gz static-pilot.tar.gz


+ 11
- 0
README.md 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)