diff options
author | 2006-10-11 15:41:05 +0000 | |
---|---|---|
committer | 2006-10-11 15:41:05 +0000 | |
commit | 58fbf883d953dd7ebe3a01a2150c7e92527078f0 (patch) | |
tree | fb0081a41577257e1e341275c31e14127f035517 /Makefile | |
parent | More nicer indenting. (diff) | |
download | gentoo-vdr-scripts-58fbf883d953dd7ebe3a01a2150c7e92527078f0.tar.gz gentoo-vdr-scripts-58fbf883d953dd7ebe3a01a2150c7e92527078f0.tar.bz2 gentoo-vdr-scripts-58fbf883d953dd7ebe3a01a2150c7e92527078f0.zip |
Now also create directories via the install-command.
svn path=/gentoo-vdr-scripts/trunk/; revision=328
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 29 |
1 files changed, 15 insertions, 14 deletions
@@ -16,23 +16,25 @@ dist: @echo Distribution package created as $(PACKAGE).tar.bz2 install: - mkdir -p $(DESTDIR)/etc/conf.d - mkdir -p $(DESTDIR)/etc/init.d + install -m 0755 -o root -g root -d $(DESTDIR)/etc/conf.d + install -m 0755 -o root -g root -d $(DESTDIR)/etc/init.d + install -m 0644 -o root -g root etc/conf.d/vdr* $(DESTDIR)/etc/conf.d install -m 0755 -o root -g root etc/init.d/vdr $(DESTDIR)/etc/init.d install -m 0755 -o root -g root etc/init.d/wakeup-reboot-halt $(DESTDIR)/etc/init.d - mkdir -p $(DESTDIR)/usr/sbin + + install -m 0755 -o root -g root -d $(DESTDIR)/usr/sbin install -m 0755 -o root -g root usr/sbin/vdr-watchdogd $(DESTDIR)/usr/sbin install -m 0755 -o root -g root usr/sbin/acpi-wakeup.sh $(DESTDIR)/usr/sbin - #mkdir -p $(DESTDIR)/usr/bin + #install -m 0755 -o root -g root -d $(DESTDIR)/usr/bin #install -m 0755 -o root -g root usr/bin/vdr-start $(DESTDIR)/usr/bin - mkdir -p $(DESTDIR)/usr/share/vdr/rcscript + install -m 0755 -o root -g root -d $(DESTDIR)/usr/share/vdr/rcscript install -m 0644 -o root -g root usr/share/vdr/rcscript/*.sh $(DESTDIR)/usr/share/vdr/rcscript/ - mkdir -p $(DESTDIR)/usr/share/vdr/shutdown + install -m 0755 -o root -g root -d $(DESTDIR)/usr/share/vdr/shutdown install -m 0644 -o root -g root usr/share/vdr/shutdown/{shutdown,pre,periodic}*.sh $(DESTDIR)/usr/share/vdr/shutdown/ install -m 0644 -o root -g root usr/share/vdr/shutdown/wakeup-acpi.sh $(DESTDIR)/usr/share/vdr/shutdown/ @@ -40,23 +42,22 @@ ifdef NVRAM install -m 0644 -o root -g root usr/share/vdr/shutdown/wakeup-nvram.sh $(DESTDIR)/usr/share/vdr/shutdown/ endif - mkdir -p $(DESTDIR)/usr/share/vdr/inc + install -m 0755 -o root -g root -d $(DESTDIR)/usr/share/vdr/inc install -m 0644 -o root -g root usr/share/vdr/inc/*.sh $(DESTDIR)/usr/share/vdr/inc/ - mkdir -p $(DESTDIR)/usr/share/vdr/record + install -m 0755 -o root -g root -d $(DESTDIR)/usr/share/vdr/record install -m 0644 -o root -g root usr/share/vdr/record/*.sh $(DESTDIR)/usr/share/vdr/record/ - mkdir -p $(DESTDIR)/usr/share/vdr/bin + install -m 0755 -o root -g root -d $(DESTDIR)/usr/share/vdr/bin install -m 0755 -o root -g root usr/share/vdr/bin/*.sh $(DESTDIR)/usr/share/vdr/bin/ - mkdir -p $(DESTDIR)/var/vdr/{shutdown-data,merged-config-files} - chown vdr:vdr -R $(DESTDIR)/var/vdr + install -m 0755 -o vdr -g vdr -d $(DESTDIR)/var/vdr/{shutdown-data,merged-config-files} - mkdir -p $(DESTDIR)/etc/vdr/commands + install -m 0755 -o vdr -g vdr -d $(DESTDIR)/etc/vdr + install -m 0755 -o vdr -g vdr -d $(DESTDIR)/etc/vdr/commands install -m 0644 -o vdr -g vdr etc/vdr/commands/commands.*.conf* $(DESTDIR)/etc/vdr/commands - mkdir -p $(DESTDIR)/etc/vdr/reccmds + install -m 0755 -o vdr -g vdr -d $(DESTDIR)/etc/vdr/reccmds install -m 0644 -o vdr -g vdr etc/vdr/reccmds/reccmds.*.conf $(DESTDIR)/etc/vdr/reccmds - chown vdr:vdr -R $(DESTDIR)/etc/vdr snapshot: |