summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2016-04-29 17:55:45 -0400
committerAndrew Cady <d@jerkface.net>2016-04-29 17:55:45 -0400
commit5fad94d3f0436662d8abdafd6d4736b081665e5f (patch)
tree1882d343be16c0fad1b30d1ce6eed6ff85b1b2e2 /Makefile
parent1c6a5e26a24a517f0b76d030c23772f321e2d943 (diff)
path independence achieved?
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile34
1 files changed, 14 insertions, 20 deletions
diff --git a/Makefile b/Makefile
index f986b4d..1a80964 100644
--- a/Makefile
+++ b/Makefile
@@ -1,26 +1,20 @@
1PACKAGE=samizdat-rhizome
2prefix=/usr/local
3exec_prefix=${prefix}
4bindir=${exec_prefix}/bin
5# libdir=${exec_prefix}/lib
6# includedir=${prefix}/include
7# datarootdir=${prefix}/share
8# datadir=${datarootdir}
9# mandir=${datarootdir}/man
10# infodir=${datarootdir}/info
11# docdir=${datarootdir}/doc/${PACKAGE}
12# sysconfdir=$(prefix)/etc
13# libexecdir=$(exec_prefix)/libexec
14
15all: 1all:
16 @echo unimplemented 2 @echo unimplemented
17 3
18bin_programs=$(addprefix src/, xorriso-usb.sh btrfs-functions.sh btrfs-receive-root.sh btrfs-send-root.sh var.sh grub-efi.sh keygen.sh initrd.sh samizdat-paths.sh qemu.sh) 4bin_programs=$(addprefix src/, xorriso-usb.sh btrfs-functions.sh btrfs-receive-root.sh btrfs-send-root.sh var.sh grub-efi.sh keygen.sh initrd.sh samizdat-paths.sh qemu.sh)
19data_files=
20libexec_programs=
21 5
22install: 6initrd_files:=$(wildcard src/initrd/*)
23 install ${bin_programs} ${bindir} 7initramfs_conf_files:=$(wildcard initramfs-tools/*)
24 8
25# install ${libexec_programs} ${libexecdir} 9include src/samizdat-paths.sh
26# install ${data_files} ${datadir}/${PACKAGE} 10
11install:
12 install ${bin_programs} ${samizdat_bindir}
13 mkdir -p ${samizdat_initrd_files_dir}
14 mkdir -p ${samizdat_child_dir}
15 mkdir -p ${samizdat_grub_efi_dir}
16 mkdir -p ${samizdat_initramfs_conf_dir}
17 mkdir -p ${samizdat_isolinux_dir}
18 mkdir -p ${samizdat_linux_dir}
19 cp -r ${initrd_files} ${samizdat_initrd_files_dir}
20 cp -r ${initramfs_conf_files} ${samizdat_initramfs_conf_dir}