suppression de @ et de else: inutiles

This commit is contained in:
fpeters 2004-02-25 21:11:26 +00:00
parent 5add797895
commit 80e5f30dca
1 changed files with 15 additions and 17 deletions

View File

@ -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: