aboutsummaryrefslogtreecommitdiffstats
path: root/devel/splint/files/patch-aa
blob: 3b9f884876773f4fcb9bbc8ce37c32e9f56e798a (plain) (blame)
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
--- Makefile.in.orig	Wed Sep  4 20:18:10 1996
+++ Makefile.in	Wed Dec 11 21:57:01 1996
@@ -40,16 +40,16 @@
 ### 
 
 ### directory for lclint libraries
-LIBDIR     = @installdir@/lib
+LIBDIR     = @installdir@/share/lclint-2.2a/lib
 
 ### directory for lclint standard imports
-IMPORTSDIR = @installdir@/imports
+IMPORTSDIR = @installdir@/share/lclint-2.2a/imports
 
 ### directory for lclint binary
 INSTALLDIR = @installdir@/bin
 
 ### directory for installing lclint.el[c]
-EMACSLIBDIR = @installdir@/emacs
+EMACSLIBDIR = @installdir@/share/emacs/site-lisp
 
 ### this should be the complete path for the directory where this
 ### Makefile is, with no trailing / or spaces.
@@ -232,6 +232,7 @@
 	@echo '// Installation complete.'
 
 doemacs:
+	@mkdir -p $(EMACSLIBDIR)
 	@$(CP) $(LCLINTEMACS) $(EMACSLIBDIR)
 	@$(CP) $(LCLINTEMACSC) $(EMACSLIBDIR)
 
@@ -243,14 +244,14 @@
 dolibraries:
 	@echo '//  Installing libraries in '$(LIBDIR)
 	@echo "    (This will complain if the directory already exists, don't worry about it.)"
-	-mkdir $(LIBDIR)
+	mkdir -p $(LIBDIR)
 	$(CP) $(LCLINTLIB)/* $(LIBDIR)
 	@echo '//  Installed libraries.'
 
 doimports:
 	@echo '//  Installing imports in '$(IMPORTSDIR)
 	@echo "    (This will complain if the directory already exists, don't worry about it.)"
-	-mkdir $(IMPORTSDIR)
+	mkdir -p $(IMPORTSDIR)
 	$(CP) $(LCLINTIMPORTS)/* $(IMPORTSDIR)
 	@echo '//  Installed imports.'