From 80e5f30dca7703711b1d884f2a65d8f6dfda0c6c Mon Sep 17 00:00:00 2001 From: fpeters <> Date: Wed, 25 Feb 2004 21:11:26 +0000 Subject: [PATCH] suppression de @ et de else: inutiles --- Makefile | 32 +++++++++++++++----------------- 1 file changed, 15 insertions(+), 17 deletions(-) diff --git a/Makefile b/Makefile index c1b2c408..027e5aec 100644 --- a/Makefile +++ b/Makefile @@ -219,12 +219,12 @@ install-create-dir: -mkdir -p "$(DESTDIR)/$(WEBCACHE_DIR)" install-glasnost: config profiles-xml - @mkdir -p "$(DESTDIR)/$(GLASNOST_DIR)" + mkdir -p "$(DESTDIR)/$(GLASNOST_DIR)" -cp config "$(DESTDIR)/$(GLASNOST_DIR)"/ - @if test -e "$(DESTDIR)/$(SBIN_DIR)/$(GLASNOST)"; then \ + if test -e "$(DESTDIR)/$(SBIN_DIR)/$(GLASNOST)"; then \ rm -f "$(DESTDIR)/$(SBIN_DIR)/$(GLASNOST)"; \ - else :; fi - @if test "true" = "$(DONT_USE_DESTDIR_FOR_LINK)" ; then \ + fi + if test "true" = "$(DONT_USE_DESTDIR_FOR_LINK)" ; then \ RPM_DESTDIR=""; \ else \ RPM_DESTDIR=="$(DESTDIR)"; \ @@ -232,9 +232,9 @@ install-glasnost: config profiles-xml cat glasnost-ctl.py | sed -e "s/^glasnostPythonDir = .*/glasnostPythonDir = \"$(LIBS_DIR_QUOTED)\"/g" > "$(DESTDIR)/$(SBIN_DIR)/$(GLASNOST)-ctl" chmod +x "$(DESTDIR)/$(SBIN_DIR)/$(GLASNOST)-ctl" - @if ! test -e "$(DESTDIR)/$(ETC_DIR)"; then \ + if ! test -e "$(DESTDIR)/$(ETC_DIR)"; then \ mkdir -p "$(DESTDIR)/$(ETC_DIR)"; \ - else :; fi + fi test ! -e "$(DESTDIR)/$(ETC_DIR)/config" || \ cp "$(DESTDIR)/$(ETC_DIR)/config" "$(DESTDIR)/$(ETC_DIR)/config.save" test -e "$(DESTDIR)/$(ETC_DIR)/config" || cp config "$(DESTDIR)/$(ETC_DIR)/config" @@ -245,22 +245,20 @@ install-glasnost: config profiles-xml done install-data: - @if ! test -e "$(DESTDIR)/$(DATA_DIR)"; then \ + if ! test -e "$(DESTDIR)/$(DATA_DIR)"; then \ mkdir -p "$(DESTDIR)/$(DATA_DIR)"; \ - else :; fi - @if test -e "$(DESTDIR)/$(DATA_DIR)/system"; then \ + fi + if test -e "$(DESTDIR)/$(DATA_DIR)/system"; then \ rm -rf "$(DESTDIR)/$(DATA_DIR)/system"; \ - else :; fi + fi if test ! -e system/data; then \ ./make-system; \ fi - @if test -e system/data; then \ - cp -pr system/data "$(DESTDIR)/$(DATA_DIR)/system"; \ - else :; fi + cp -pr system/data "$(DESTDIR)/$(DATA_DIR)/system" chown $(SERVER_USER).$(SERVER_GROUP) "$(DESTDIR)/$(DATA_DIR)" || /bin/true - @if ! test -e "$(DESTDIR)/$(DATA_DIR)/webcache"; then \ + if ! test -e "$(DESTDIR)/$(DATA_DIR)/webcache"; then \ mkdir -p "$(DESTDIR)/$(DATA_DIR)/webcache"; \ - else :; fi + fi chown $(WEB_USER).$(WEB_GROUP) "$(DESTDIR)/$(DATA_DIR)/webcache" install-extensions: @@ -279,9 +277,9 @@ install-locale: mo done install-log: - @if test ! -e "$(DESTDIR)/$(LOG_DIR)"; then \ + if test ! -e "$(DESTDIR)/$(LOG_DIR)"; then \ mkdir -p "$(DESTDIR)/$(LOG_DIR)"; \ - else :; fi + fi chown $(SERVER_USER).$(SERVER_GROUP) "$(DESTDIR)/$(LOG_DIR)" | /bin/true install-python-libs: