mirror of
https://github.com/fspc/gbootroot.git
synced 2025-02-22 16:43:23 -05:00
Adds $DESTDIR.
This commit is contained in:
parent
93b7a397d5
commit
eef83727ce
29
Makefile.pkg
29
Makefile.pkg
@ -2,21 +2,20 @@
|
|||||||
all: install
|
all: install
|
||||||
|
|
||||||
install:
|
install:
|
||||||
install -d /usr/bin
|
install -d $(DESTDIR)/usr/bin
|
||||||
cp -fa gbootroot /usr/bin/gbootroot
|
cp -fa gbootroot $(DESTDIR)/usr/bin/gbootroot
|
||||||
cp -fa yard_chrooted_tests /usr/bin/yard_chrooted_tests
|
cp -fa yard_chrooted_tests $(DESTDIR)/usr/bin/yard_chrooted_tests
|
||||||
cp -fa yard/scripts/make_debian /usr/bin/make_debian
|
cp -fa yard/scripts/make_debian $(DESTDIR)/usr/bin/make_debian
|
||||||
install -d /usr/share/perl5/BootRoot
|
install -d $(DESTDIR)/usr/share/perl5/BootRoot
|
||||||
cp -fa BootRoot/*.pm /usr/share/perl5/BootRoot
|
cp -fa BootRoot/*.pm $(DESTDIR)/usr/share/perl5/BootRoot
|
||||||
install -d /usr/share/gbootroot/yard/Replacements
|
install -d $(DESTDIR)/usr/share/gbootroot/yard/Replacements
|
||||||
cp -fa yard/replacements/[!CVS]* /usr/share/gbootroot/yard/Replacements
|
cp -fa yard/replacements/* $(DESTDIR)/usr/share/gbootroot/yard/Replacements
|
||||||
install -d /usr/share/gbootroot/yard/templates
|
install -d $(DESTDIR)/usr/share/gbootroot/yard/templates
|
||||||
chmod 444 yard/templates/*.yard
|
cp -fa yard/templates/*.yard $(DESTDIR)/usr/share/gbootroot/yard/templates
|
||||||
cp -fa yard/templates/*.yard /usr/share/gbootroot/yard/templates
|
cp -fa user-mode-linux/usr/bin/uml_* $(DESTDIR)/usr/bin
|
||||||
cp -fa user-mode-linux/usr/bin/uml_* /usr/bin
|
cp -fa user-mode-linux/usr/bin/linux $(DESTDIR)/usr/bin/linux
|
||||||
cp -fa user-mode-linux/usr/bin/linux /usr/bin/linux
|
install -d $(DESTDIR)/etc/gbootroot
|
||||||
install -d /etc/gbootroot
|
cp -fa gbootrootrc $(DESTDIR)/etc/gbootroot/gbootrootrc
|
||||||
cp -fa gbootrootrc /etc/gbootroot/gbootrootrc
|
|
||||||
|
|
||||||
remove:
|
remove:
|
||||||
rm /usr/bin/gbootroot
|
rm /usr/bin/gbootroot
|
||||||
|
Loading…
x
Reference in New Issue
Block a user