$NetBSD: patch-aa,v 1.2 1998/08/07 10:40:54 agc Exp $

--- Imakefile.orig	Sat Apr  4 07:43:01 1998
+++ Imakefile	Tue Apr 21 02:13:19 1998
@@ -91,7 +91,7 @@
 InstallAppDefaults(XArt)
 
 NamedMakeSubdirs(always, $(SUBDIRS))
-MakefileSubdirs($(SUBDIRS) bitmaps Doc)
+MakefileSubdirs($(SUBDIRS) bitmaps)
 CleanSubdirs($(SUBDIRS))
 
 # Other targets...
@@ -103,12 +103,13 @@
 
 xart.ad:	xart.ad.in version
 	sed -e 's/XPAINT_VERSION/$(VERSION)/' < xart.ad.in > $@
+	ln $@ XArt.ad
 xart.ad.h:	xart.ad
-	./ad2c.script $? > $@
+	sh ./ad2c.script $? > $@
 DefaultRC.txt.h: DefaultRC
-	./ad2c.script $? > $@
+	sh ./ad2c.script $? > $@
 Help.txt.h: Help.txt
-	sed -e 's/  *$$//' -e 's/^$$/ /' < $? | ./ad2c.script > $@
+	sed -e 's/  *$$//' -e 's/^$$/ /' < $? | sh ./ad2c.script > $@
 xart.man:	xart.man.in version
 	sed -e 's/XPAINT_VERSION/$(VERSION)/' < xart.man.in > $@