# 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\\-22/2007\\-10\\-29/' \
- -e 's/2007-10-22/2007-10-29/' \
- -e 's/22.10.2007/29.10.2007/' \
- -e 's/1.110.3/1.110.4/' \
+ sed -i -e 's/2007\\-10\\-29/2007\\-11\\-05/' \
+ -e 's/2007-10-29/2007-11-05/' \
+ -e 's/29.10.2007/05.11.2007/' \
+ -e 's/1.110.4/1.110.5/' \
$$FILE; \
done
clean:
- rm -f live.conf
distclean: