From 57aa69c65acc07a17a2614f3470349590beb54d7 Mon Sep 17 00:00:00 2001 From: Matt Kubilus Date: Fri, 4 Dec 2015 20:53:26 -0500 Subject: [PATCH] Some changes for deb building. --- Makefile | 4 +++- pkg/DEBIAN/postinst | 7 ------- 2 files changed, 3 insertions(+), 8 deletions(-) delete mode 100755 pkg/DEBIAN/postinst diff --git a/Makefile b/Makefile index cf0649a..6cd9532 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -# + # HINT: If makeinfo is missing on Ubuntu, install texinfo package. # @@ -45,6 +45,8 @@ pkg/opt: gendev_1_all.deb: pkg/opt dpkg-deb -Zxz -z9 --build pkg . +deb: gendev_1_all.deb + toolchain_build: work /opt/toolchains/gen echo "Build" cd work && \ diff --git a/pkg/DEBIAN/postinst b/pkg/DEBIAN/postinst deleted file mode 100755 index 4509caa..0000000 --- a/pkg/DEBIAN/postinst +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh - -echo "Post install" -echo "export GENDEV=/opt/toolchains/gen" > ~/.gendev -echo "export PATH=\$GENDEV/m68k-elf/bin:\$GENDEV/bin:\$PATH" >> ~/.gendev -echo "export GENDEV=/opt/toolchains/gen" > ~/.32xdev -echo "export PATH=\$GENDEV/sh-elf/bin:\$GENDEV/m68k-elf/bin:\$GENDEV/bin:\$PATH" >> ~/.32xdev