File: Makefile.am

package info (click to toggle)
ax25spyd 0.23-8
  • links: PTS
  • area: main
  • in suites: lenny, squeeze
  • size: 592 kB
  • ctags: 502
  • sloc: ansic: 4,167; sh: 308; makefile: 86
file content (27 lines) | stat: -rw-r--r-- 1,046 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
SUBDIRS = src doc examples
EXTRA_DIST = BUGS programming 


# This is only useful within my local environment (dg9ep)

distname = $(PACKAGE)-$(VERSION)

distall: dist
	-cp $(distname).tar.gz /afu/up
	-cp $(distname).tar.gz /home/walter/public_html/
	sed -e "s/<!--aaa-->.*<!--bbb-->/<!--aaa--><a href="
$(distname).tar.gz"><!--bbb-->/g" /home/walter/public_html/moni.htm > /home/walter/public_html/moni.tmp
	mv /home/walter/public_html/moni.tmp /home/walter/public_html/moni.htm
	sed -e "s/<!--ccc-->.*<!--ddd-->/<!--ccc-->
$(distname).tar.gz<!--ddd-->/g" /home/walter/public_html/moni.htm > /home/walter/public_html/moni.tmp
	mv /home/walter/public_html/moni.tmp /home/walter/public_html/moni.htm
	sed -e "s/<!--xxx-->.*<!--yyy-->/<!--xxx-->`date`<!--yyy-->/" /home/walter/public_html/moni.htm > /home/walter/public_html/moni.tmp
	mv /home/walter/public_html/moni.tmp /home/walter/public_html/moni.htm

cvs:
	cvs commit
	cvs tag $(distname)
	make all

backup: dist
	-mv $(distname).tar.gz   /var/fileserver/dat/backup/$(distname).backup.tar.gz