diff options
| author | mss | 2002-09-24 21:33:13 +0000 |
|---|---|---|
| committer | mss | 2002-09-24 21:33:13 +0000 |
| commit | 6fb3245ccc6dc047f7d03cb309173b0a60a3ad09 (patch) | |
| tree | 311c826e320f9a4fa0825d4cda38d1c35afa50d0 | |
| parent | ca708ae6bec3a2ace6bf16854ce75d19f39972bb (diff) | |
| download | mailman-6fb3245ccc6dc047f7d03cb309173b0a60a3ad09.tar.gz mailman-6fb3245ccc6dc047f7d03cb309173b0a60a3ad09.tar.zst mailman-6fb3245ccc6dc047f7d03cb309173b0a60a3ad09.zip | |
some changes to simplify tracking
| -rw-r--r-- | templates/ru/Makefile | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/templates/ru/Makefile b/templates/ru/Makefile index e2e0c265b..43173f53d 100644 --- a/templates/ru/Makefile +++ b/templates/ru/Makefile @@ -1,8 +1,11 @@ # FILES=admindbpreamble.html adminsubscribeack.txt adminunsubscribeack.txt admlogin.html approve.txt article.html bounce.txt checkdbs.txt convert.txt cronpass.txt headfoot.html help.txt listinfo.html masthead.txt newlist.txt nopass.txt options.html postack.txt postauth.txt postheld.txt private.html reenable.txt refuse.txt roster.html subauth.txt subscribeack.txt subscribe.html unsub.txt userpass.txt verify.txt FILES=$(shell cat status | sed -e 's/ .*$$//') -TARGET=/var/home/mailman/templates/ru +TARGET=/var/home/mailman/templates/ru/ +WEB=/var/www/mailman-ru +WFILES_DIR=/var/www/mailman-ru/files TFILES=$(addprefix $(TARGET),$(FILES)) +WFILES=$(addprefix $(WEB),$(FILES)) diff_args=-ub @@ -25,7 +28,22 @@ started: @cat status | while read name version status rest; do [ "$$status" == "started" ] && echo $$name; done | sort status-%: % - @cat status | grep "^$< " + @ cat status | grep "^$< " + +$(WEB)/%: % + cp $< $@ + +#update: $(WFILES) +update: update-files update-status + +update-files: + install -d $(WFILES_DIR) + @for file in $(FILES); do if [ ! -e $(WFILES_DIR)/$$file -o $$file -nt $(WFILES_DIR)/$$file ]; then cp -vf $$file $(WFILES_DIR)/$$file; fi; done + +update-status: $(WEB)/status.html + +$(WEB)/status.html: status s2h.py + ./s2h.py > $@ install: sudo install -d $(TARGET) |
