diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 34 |
1 files changed, 14 insertions, 20 deletions
@@ -1,26 +1,20 @@ | |||
1 | PACKAGE=samizdat-rhizome | ||
2 | prefix=/usr/local | ||
3 | exec_prefix=${prefix} | ||
4 | bindir=${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 | |||
15 | all: | 1 | all: |
16 | @echo unimplemented | 2 | @echo unimplemented |
17 | 3 | ||
18 | bin_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) | 4 | bin_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) |
19 | data_files= | ||
20 | libexec_programs= | ||
21 | 5 | ||
22 | install: | 6 | initrd_files:=$(wildcard src/initrd/*) |
23 | install ${bin_programs} ${bindir} | 7 | initramfs_conf_files:=$(wildcard initramfs-tools/*) |
24 | 8 | ||
25 | # install ${libexec_programs} ${libexecdir} | 9 | include src/samizdat-paths.sh |
26 | # install ${data_files} ${datadir}/${PACKAGE} | 10 | |
11 | install: | ||
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} | ||