-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMakefile.am
More file actions
13 lines (9 loc) · 726 Bytes
/
Copy pathMakefile.am
File metadata and controls
13 lines (9 loc) · 726 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
## Process this file with automake to generate Makefile.in
ACLOCAL_AMFLAGS = -I m4
SUBDIRS = src include
export: dist
scp $(PACKAGE)-$(VERSION).tar.gz $(WEB_SERVE):$(WEB_PATH)/software/.
ssh $(WEB_SERVE) "cd $(WEB_PATH)/software ; \rm -f $(PACKAGE).tar.gz ; ln -s $(PACKAGE)-$(VERSION).tar.gz $(PACKAGE).tar.gz; \rm -fr $(PACKAGE); mkdir $(PACKAGE)"
ssh $(WEB_SERVE) "cd $(WEB_PATH)/software; sed -e 's%<\!-- mem version --><td>.*</td>%<\!-- mem version --><td>$(VERSION)</td>%' index.html > junk.html; mv junk.html index.html"
ssh $(WEB_SERVE) "cd $(WEB_PATH)/software; sed -e 's%<\!-- mem date --><td>.*</td>%<\!-- mem date --><td>$(DATE)</td>%' index.html > junk.html; mv junk.html index.html"
DATE = $(shell date)