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 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119
|
## Process this file with automake to produce Makefile.in
# $Id: Makefile.am,v 1.44 2006/05/13 20:31:05 bchiara Exp $
SUBDIRS = src doc glade m4 po
# standard props
DATADIR=.
# ignore bogus distcheck errors caused by scrollkeeper lazyness
distuninstallcheck_listfiles = find . -type f -print | grep -v '^\./var/scrollkeeper'
indent:
cd src && make indent
NEWS: html/NEWS.html
lynx --dump html/NEWS.html > NEWS
FAQ: html/FAQ.html
lynx --dump html/FAQ.html > FAQ
README.bugs: html/bug-reporting.html
lynx --dump html/bug-reporting.html > README.bugs
cvs : NEWS FAQ README.bugs indent
test `whoami` = toledo
cvs commit
touch src/.indent
man_MANS = etherape.1
full-cvs : cvs
cd ../www && make
confdir = $(sysconfdir)/etherape
conf_DATA = \
services
Developmentdir = $(datadir)/applications
Development_DATA = \
etherape.desktop
pixmapsdir = $(datadir)/pixmaps
pixmaps_DATA = \
etherape.png
purge:
rm -f *~ *.bak *.tar.gz
cd src && make purge
splint:
cd src && make splint
EXTRA_DIST = config.rpath mkinstalldirs \
README.thanks \
README.help \
README.bugs \
FAQ \
OVERVIEW \
ChangeLog \
etherape.spec \
etherape.spec.in \
etherape.desktop.in \
html/NEWS.html \
html/FAQ.html \
html/bug-reporting.html \
debian/README.debian \
debian/changelog \
debian/control \
debian/copyright \
debian/dirs \
debian/docs \
debian/menu \
debian/rules \
src/glade-strings \
$(conf_DATA) \
$(Development_DATA) \
$(pixmaps_DATA) \
$(man_MANS)
full-dist :
test `whoami` = toledo
test `echo ${VERSION}` != `cat old.version`
jed html/NEWS.html
make NEWS
make cvs
cvs2cl --accum
cvs tag `echo rel-${VERSION} | tr . - `
make dist
cp -f ${PACKAGE}-${VERSION}.tar.gz /usr/src/redhat/SOURCES/
rpm -ba etherape.spec
# Since the next part fails so much, I dump it to the screen so that it can
# be copied and pasted manually
echo -e scp ${PACKAGE}-${VERSION}.tar.gz etherape.sourceforge.net:ftp \\n\
ssh etherape.sourceforge.net ncftpput upload.sourceforge.net /incoming/ ftp/${PACKAGE}-${VERSION}.tar.gz\\n\
scp /usr/src/redhat/RPMS/i386/${PACKAGE}-${VERSION}-1.i386.rpm etherape.sourceforge.net:ftp\\n\
ssh etherape.sourceforge.net ncftpput upload.sourceforge.net /incoming/ ftp/${PACKAGE}-${VERSION}-1.i386.rpm\\n\
scp /usr/src/redhat/SRPMS/${PACKAGE}-${VERSION}-1.src.rpm etherape.sourceforge.net:ftp\\n\
ssh etherape.sourceforge.net ncftpput upload.sourceforge.net /incoming/ ftp/${PACKAGE}-${VERSION}-1.src.rpm\\n\
"echo ${VERSION} > old.version"
scp ${PACKAGE}-${VERSION}.tar.gz etherape.sourceforge.net:ftp
ssh etherape.sourceforge.net ncftpput upload.sourceforge.net /incoming/ ftp/${PACKAGE}-${VERSION}.tar.gz
scp /usr/src/redhat/RPMS/i386/${PACKAGE}-${VERSION}-1.i386.rpm etherape.sourceforge.net:ftp
ssh etherape.sourceforge.net ncftpput upload.sourceforge.net /incoming/ ftp/${PACKAGE}-${VERSION}-1.i386.rpm
scp /usr/src/redhat/SRPMS/${PACKAGE}-${VERSION}-1.src.rpm etherape.sourceforge.net:ftp
ssh etherape.sourceforge.net ncftpput upload.sourceforge.net /incoming/ ftp/${PACKAGE}-${VERSION}-1.src.rpm
echo ${VERSION} > old.version
# cd ../www && make
# cd ../www && cvs tag `echo rel-${VERSION} | tr . - `
dist-hook: etherape.spec
cp etherape.spec $(distdir)
ACLOCAL_AMFLAGS = -I m4
|