aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJason Woodward2004-09-22 22:11:14 +0000
committerJason Woodward2004-09-22 22:11:14 +0000
commit139eda4ef53eb417b4297aadf06c5e0638b475b0 (patch)
treea8fc2091fc1c9fbe55fc8e962df4194738f3e349 /Makefile
parenta26152c4257aa4ea1026c24fc5ef9f8090629ee4 (diff)
downloadslapt-get-139eda4ef53eb417b4297aadf06c5e0638b475b0.tar.gz
updated makefile, doinst.sh generated script sed's slapt-getrc updating comment on /usr/doc/slapt-get*/ directory
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 4eac05a..ccd2739 100644
--- a/Makefile
+++ b/Makefile
@@ -96,7 +96,7 @@ dopkg:
@cat example.slapt-getrc |grep -v '^#'|grep -v '^$$' >> ./pkg/etc/slapt-get/slapt-getrc.new
@mkdir -p ./pkg/usr/doc/$(PROGRAM_NAME)-$(VERSION)/
@cp example.slapt-getrc COPYING Changelog INSTALL README FAQ TODO ./pkg/usr/doc/$(PROGRAM_NAME)-$(VERSION)/
- @echo "if [ ! -d etc/slapt-get ]; then mkdir -p etc/slapt-get;fi; if [ -f etc/slapt-getrc -a ! -f etc/slapt-get/slapt-getrc ]; then mv etc/slapt-getrc etc/slapt-get/slapt-getrc;fi; if [ ! -f etc/slapt-get/slapt-getrc ]; then mv etc/slapt-get/slapt-getrc.new etc/slapt-get/slapt-getrc; else diff -q etc/slapt-get/slapt-getrc etc/slapt-get/slapt-getrc.new >/dev/null 2>&1 && rm etc/slapt-get/slapt-getrc.new; fi;" > pkg/install/doinst.sh
+ @echo "if [ ! -d etc/slapt-get ]; then mkdir -p etc/slapt-get;fi; if [ -f etc/slapt-getrc -a ! -f etc/slapt-get/slapt-getrc ]; then mv etc/slapt-getrc etc/slapt-get/slapt-getrc;fi; if [ ! -f etc/slapt-get/slapt-getrc ]; then mv etc/slapt-get/slapt-getrc.new etc/slapt-get/slapt-getrc; else sed -i -re 's/(See \/usr\/doc\/slapt\-get\-).*(\/example\.slapt\-getrc)/\1$(VERSION)\2/' /etc/slapt-get/slapt-getrc; diff -q etc/slapt-get/slapt-getrc etc/slapt-get/slapt-getrc.new >/dev/null 2>&1 && rm etc/slapt-get/slapt-getrc.new; fi;" > pkg/install/doinst.sh
@cp slack-desc pkg/install/
@cp slack-required pkg/install/
@cp $(PROGRAM_NAME).8 pkg/usr/man/man8/