From ca8baa892f082d2da121e597770b5ef6db118f55 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 8 Aug 2011 20:32:10 +0200 Subject: [PATCH] Renaming cgi files within the sources to consistently use the name live-build-cgi. --- Makefile | 2 +- cgi/Makefile | 14 +++++++------- cgi/{cgi => live-build-cgi} | 0 cgi/{cron => live-build-cgi.cron} | 0 cgi/{crontab => live-build-cgi.crontab} | 0 cgi/{default => live-build-cgi.default} | 0 cgi/{logrotate => live-build-cgi.logrotate} | 0 7 files changed, 8 insertions(+), 8 deletions(-) rename cgi/{cgi => live-build-cgi} (100%) rename cgi/{cron => live-build-cgi.cron} (100%) rename cgi/{crontab => live-build-cgi.crontab} (100%) rename cgi/{default => live-build-cgi.default} (100%) rename cgi/{logrotate => live-build-cgi.logrotate} (100%) diff --git a/Makefile b/Makefile index cc03ba7d2..15bb8cd75 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ SHELL := sh -e LANGUAGES = $(shell cd manpages/po && ls) -SCRIPTS = cgi/* cron/* functions/* examples/*/*.sh examples/auto/* scripts/*.sh scripts/*/* share/hooks/* +SCRIPTS = cgi/live-build-cgi cgi/live-build-cgi.cron cron/* functions/* examples/*/*.sh examples/auto/* scripts/*.sh scripts/*/* share/hooks/* all: build diff --git a/cgi/Makefile b/cgi/Makefile index 27a010766..305144aff 100644 --- a/cgi/Makefile +++ b/cgi/Makefile @@ -1,10 +1,10 @@ # Makefile install: - install -D -m 0755 cgi $(DESTDIR)/usr/lib/cgi-bin/live-build - install -D -m 0755 cron $(DESTDIR)/etc/cron.d/live-build.cgi - install -D -m 0644 default $(DESTDIR)/etc/default/live-build.cgi - install -D -m 0644 logrotate $(DESTDIR)/etc/logrotate.d/live-build.cgi + install -D -m 0755 live-build-cgi $(DESTDIR)/usr/lib/cgi-bin/live-build + install -D -m 0755 live-build-cgi.cron $(DESTDIR)/etc/cron.d/live-build-cgi + install -D -m 0644 live-build-cgi.default $(DESTDIR)/etc/default/live-build-cgi + install -D -m 0644 live-build-cgi.logrotate $(DESTDIR)/etc/logrotate.d/live-build-cgi install -d -m 0755 $(DESTDIR)/var/log touch $(DESTDIR)/var/log/live @@ -12,8 +12,8 @@ install: uninstall: rm -f $(DESTDIR)/usr/lib/cgi-bin/live-build - rm -f $(DESTDIR)/etc/cron.d/live-build.cgi - rm -f $(DESTDIR)/etc/default/live-build.cgi - rm -f $(DESTDIR)/etc/logrotate.d/live-build.cgi + rm -f $(DESTDIR)/etc/cron.d/live-build-cgi + rm -f $(DESTDIR)/etc/default/live-build-cgi + rm -f $(DESTDIR)/etc/logrotate.d/live-build-cgi reinstall: uninstall install diff --git a/cgi/cgi b/cgi/live-build-cgi similarity index 100% rename from cgi/cgi rename to cgi/live-build-cgi diff --git a/cgi/cron b/cgi/live-build-cgi.cron similarity index 100% rename from cgi/cron rename to cgi/live-build-cgi.cron diff --git a/cgi/crontab b/cgi/live-build-cgi.crontab similarity index 100% rename from cgi/crontab rename to cgi/live-build-cgi.crontab diff --git a/cgi/default b/cgi/live-build-cgi.default similarity index 100% rename from cgi/default rename to cgi/live-build-cgi.default diff --git a/cgi/logrotate b/cgi/live-build-cgi.logrotate similarity index 100% rename from cgi/logrotate rename to cgi/live-build-cgi.logrotate