diff options
author | euer <root@euer.krebsco.de> | 2012-12-23 00:37:17 +0100 |
---|---|---|
committer | euer <root@euer.krebsco.de> | 2012-12-23 00:37:17 +0100 |
commit | 3b8a155589443ecf3012805a316421fcbd08c9ae (patch) | |
tree | d0aff10eca9bdb92be41d77a59a63b91136f0996 /god/oncology/Makefile | |
parent | 330cb43cbd2ee15d028376e6da9803453db0f8de (diff) |
//oncology -> //god
Diffstat (limited to 'god/oncology/Makefile')
-rw-r--r-- | god/oncology/Makefile | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/god/oncology/Makefile b/god/oncology/Makefile new file mode 100644 index 00000000..05d5c422 --- /dev/null +++ b/god/oncology/Makefile @@ -0,0 +1,23 @@ +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 + service lcd4linux force-reload + +/etc/lcd4linux.conf: lcd4linux.conf + chown krebs:krebs lcd4linux.conf + chmod 600 lcd4linux.conf + cp -a lcd4linux.conf /etc/lcd4linux.conf |