# Makefile
-BUILD_SYSTEM := $(shell lsb_release --short --id)
-
TRANSLATIONS="it"
all: build
done
build:
- # Setting BUILD_SYSTEM
- sed -e 's/\(BUILD_SYSTEM="\).*"/\1'$(BUILD_SYSTEM)'"/g' conf/live.conf > live.conf
install: test build
# Installing configuration
- install -D -m 0644 live.conf $(DESTDIR)/etc/live.conf
+ install -D -m 0644 conf/live.conf $(DESTDIR)/etc/live.conf
# Installing executables
mkdir -p $(DESTDIR)/sbin
update:
set -e; for FILE in docs/parameters.txt; \
do \
- sed -i -e 's/2007\\-10\\-01/2007\\-10\\-08/' \
- -e 's/2007-10-01/2007-10-08/' \
- -e 's/01.10.2007/08.10.2007/' \
- -e 's/1.106.1/1.106.2/' \
+ sed -i -e 's/2007\\-11\\-05/2007\\-11\\-12/' \
+ -e 's/2007-11-05/2007-11-12/' \
+ -e 's/05.11.2007/12.11.2007/' \
+ -e 's/1.110.5/1.110.6/' \
$$FILE; \
done
clean:
- rm -f live.conf
distclean: