15
cat Documentation/revision-history.html | grep -v '<!--NOTINTEXT-->' | html2text -nobs -width 76 > Documentation/revision-history.txt
16
cat Documentation/faq.html | grep -v '<!--NOTINTEXT-->' | html2text -nobs -width 76 > Documentation/faq.txt
17
rm -rf ../dist/laptop-mode-tools-$(VERSION)
18
mkdir -p ../dist/laptop-mode-tools-$(VERSION)
19
cp -a * ../dist/laptop-mode-tools-$(VERSION)
20
@# Remove Subversion stuff before distributing!
21
rm -rf `find ../dist/laptop-mode-tools-$(VERSION) -name .svn`
22
cd ../dist && tar cvzf laptop-mode-tools_$(VERSION).tar.gz laptop-mode-tools-$(VERSION)
23
rm -rf ../dist/laptop-mode-tools-$(VERSION)
24
# If you need to do some stuff after a release, but you don't want to make this
25
# public, put a laptop-mode-tools-postmakedist somewhere in your path.
26
if [ `which laptop-mode-tools-postmakedist` ] ; then laptop-mode-tools-postmakedist $(VERSION) ; fi