summaryrefslogtreecommitdiff
path: root/lang/STk/patches/patch-ab
blob: 8a824c985de3e6b9051970f0747bf4d60d0834f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
$NetBSD: patch-ab,v 1.2 2003/05/10 00:26:33 jtb Exp $

--- Demos/Makefile.orig
+++ Demos/Makefile
@@ -34,13 +34,15 @@
 	do \
 	  chmod 0755 $(DEMODIR)/`basename $$i`; \
 	done
-	mkdir $(DEMODIR)/Html-Demos; chmod 0755 $(DEMODIR)/Html-Demos 
+	-mkdir $(DEMODIR)/Html-Demos
+	-chmod 0755 $(DEMODIR)/Html-Demos 
 	cp Html-Demos/*.html $(DEMODIR)/Html-Demos
 	chmod 0644  $(DEMODIR)/Html-Demos/*.html
-	mkdir $(DEMODIR)/Html-Demos/Images; chmod 0755 $(DEMODIR)/Html-Demos/Images
+	-mkdir $(DEMODIR)/Html-Demos/Images
+	-chmod 0755 $(DEMODIR)/Html-Demos/Images
 	cp Html-Demos/Images/*.gif  $(DEMODIR)/Html-Demos/Images
 	chmod 0644  $(DEMODIR)/Html-Demos/Images/*
-	(cd $(DEMODIR)/Html-Demos; ln -s ../amib.stklos ../stklos-widgets .)
+	(cd $(DEMODIR)/Html-Demos; ln -fs ../amib.stklos ../stklos-widgets .)
 	-if [ ! -d $(DEMODIR)lib ] ; then mkdir -p $(DEMODIR)/lib; fi
 	$(CP) ../Contrib/STk-wtour/lib/*.xbm $(DEMODIR)/lib
 	chmod 0644 $(DEMODIR)/lib/*