From 445b530a98f9eac3a2ac48c59e357bf163352940 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 20 Aug 2011 23:54:39 +0200 Subject: oncology: update Makefile, write config --- oncology/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 oncology/Makefile (limited to 'oncology/Makefile') diff --git a/oncology/Makefile b/oncology/Makefile new file mode 100644 index 00000000..e90d3bc8 --- /dev/null +++ b/oncology/Makefile @@ -0,0 +1,8 @@ +install: /etc/lcd4linux.conf + #punani -Ei libtool automake autoconf zlib1g-dev libssl-dev python-dev libc6 libusb-dev libibus-dev subversion libgd2-noxpm-dev libgd2-noxpm + dpfhack_display/build-dpf-lcd4linux.sh + make -C dpfhack_display/lcd4linux/ install + +/etc/lcd4linux.conf: lcd4linux.conf + chown 0:0 lcd4linux.conf + cp -a lcd4linux.conf /etc/lcd4linux.conf -- cgit v1.2.3 From 290661314c70e43a8bbf3fbe2057e8ab2a860144 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 21 Aug 2011 01:24:22 +0200 Subject: oncology: fix Makefile/build/config lcd4linux.conf - removed fucking white space, minor fuckups Makefile - correct dependency handling, patch /etc/init.d/lcd4linux --- oncology/Makefile | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) (limited to 'oncology/Makefile') diff --git a/oncology/Makefile b/oncology/Makefile index e90d3bc8..258ee130 100644 --- a/oncology/Makefile +++ b/oncology/Makefile @@ -1,8 +1,22 @@ -install: /etc/lcd4linux.conf - #punani -Ei libtool automake autoconf zlib1g-dev libssl-dev python-dev libc6 libusb-dev libibus-dev subversion libgd2-noxpm-dev libgd2-noxpm +build-deps: + #punani -Ei libtool automake autoconf zlib1g-dev libssl-dev python-dev libc6 libusb-dev libibus-dev subversion libgd2-noxpm-dev libgd2-noxpm lcd4linux + +/usr/bin/lcd4linux: build-deps + #punani -Ei lcd4linux + sed -i 's/usr\/sbin\/lcd4linux/usr\/bin\/lcd4linux/g' /etc/init.d/lcd4linux dpfhack_display/build-dpf-lcd4linux.sh make -C dpfhack_display/lcd4linux/ install +lcd4linux_autostart: + # service lcd4linux start + # update-rc.d lcd4linux + +install: /usr/bin/lcd4linux /etc/lcd4linux.conf lcd4linux_autostart + # TODO this is debian only + +update: /etc/lcd4linux.conf + /etc/lcd4linux.conf: lcd4linux.conf - chown 0:0 lcd4linux.conf + chown krebs:krebs lcd4linux.conf + chmod 600 lcd4linux.conf cp -a lcd4linux.conf /etc/lcd4linux.conf -- cgit v1.2.3 From 932e6dc3a148cdd9dc9bbb6f92fc48dff16fae01 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 26 Aug 2011 10:29:19 +0200 Subject: cleanup: update lcd4linux file --- oncology/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'oncology/Makefile') diff --git a/oncology/Makefile b/oncology/Makefile index 258ee130..05d5c422 100644 --- a/oncology/Makefile +++ b/oncology/Makefile @@ -15,6 +15,7 @@ install: /usr/bin/lcd4linux /etc/lcd4linux.conf lcd4linux_autostart # TODO this is debian only update: /etc/lcd4linux.conf + service lcd4linux force-reload /etc/lcd4linux.conf: lcd4linux.conf chown krebs:krebs lcd4linux.conf -- cgit v1.2.3