diff options
author | root <root@krebs> | 2011-08-21 01:24:22 +0200 |
---|---|---|
committer | root <root@krebs> | 2011-08-21 01:24:22 +0200 |
commit | 562a1b4d7b9c094f10415b3f4048d53284ae696f (patch) | |
tree | a32187053c64484c18ddef5cc32da56f37e1ab99 /oncology/Makefile | |
parent | 2632a19cc1708c5d4309f3f52dd7e90fd7b46c8f (diff) |
oncology: fix Makefile/build/config
lcd4linux.conf - removed fucking white space, minor fuckups
Makefile - correct dependency handling, patch /etc/init.d/lcd4linux
Diffstat (limited to 'oncology/Makefile')
-rw-r--r-- | oncology/Makefile | 20 |
1 files changed, 17 insertions, 3 deletions
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 |