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
|
--- makefile.in
+++ makefile.in
@@ -65,13 +65,13 @@
cd docs; $(MAKE) ship
install: all
- for d in $(BINDIR) $(LIBLOC) $(LIBLOC)/logolib $(LIBLOC)/helpfiles $(LIBLOC)/csls; do [ -d $$d ] || mkdir -p $$d || exit 1; done
- cp logo $(BINDIR)/.
- cp -f logolib/* $(LIBLOC)/logolib/.
- cp -f helpfiles/* $(LIBLOC)/helpfiles/.
- cp -f csls/* $(LIBLOC)/csls/.
- (cd emacs; prefix=$(prefix) LIBLOC=$(LIBLOC) BINDIR=$(BINDIR) $(MAKE) install)
- (cd docs; prefix=$(prefix) LIBLOC=$(LIBLOC) BINDIR=$(BINDIR) $(MAKE) install)
+ for d in $(BINDIR) $(LIBLOC) $(LIBLOC)/logolib $(LIBLOC)/helpfiles $(LIBLOC)/csls; do [ -d $(DESTDIR)$$d ] || mkdir -p $(DESTDIR)$$d || exit 1; done
+ cp logo $(DESTDIR)$(BINDIR)/.
+ cp -f logolib/* $(DESTDIR)$(LIBLOC)/logolib/.
+ cp -f helpfiles/* $(DESTDIR)$(LIBLOC)/helpfiles/.
+ cp -f csls/* $(DESTDIR)$(LIBLOC)/csls/.
+ (cd emacs; prefix=$(prefix) LIBLOC=$(LIBLOC) BINDIR=$(BINDIR) DESTDIR=$(DESTDIR) $(MAKE) install)
+ (cd docs; prefix=$(prefix) LIBLOC=$(LIBLOC) BINDIR=$(BINDIR) DESTDIR=$(DESTDIR) $(MAKE) install)
# prefix=$(prefix); LIBLOC=$(LIBLOC); BINDIR=$(BINDIR); export prefix LIBLOC BINDIR; cd emacs; $(MAKE) install
logo-mode:
--- docs/makefile.orig 2005-09-21 22:18:56.000000000 -0400
+++ docs/makefile 2005-09-21 22:19:20.000000000 -0400
@@ -30,10 +30,10 @@
-rm -f *.{aux,cp,cps,dvi,fn,ky,log,pg,toc,tp,vr}
install: all
- for d in $(INFODIR) $(DOCSDIR) $(HTMLDIR); do [ -d $$d ] || mkdir -p $$d || exit 1; done
- -cp -f *.info* $(INFODIR)/.
- -cp -f html/*.html $(HTMLDIR)/.
- -cp -f usermanual.ps $(DOCSDIR)/.
- -cp -f usermanual.pdf $(DOCSDIR)/.
- -cp -f usermanual.texi $(DOCSDIR)/.
- -cp -f ../usermanual $(DOCSDIR)/.
+ for d in $(INFODIR) $(DOCSDIR) $(HTMLDIR); do [ -d $(DESTDIR)$$d ] || mkdir -p $(DESTDIR)$$d || exit 1; done
+ -cp -f *.info* $(DESTDIR)$(INFODIR)/.
+ -cp -f html/*.html $(DESTDIR)$(HTMLDIR)/.
+ -cp -f usermanual.ps $(DESTDIR)$(DOCSDIR)/.
+ -cp -f usermanual.pdf $(DESTDIR)$(DOCSDIR)/.
+ -cp -f usermanual.texi $(DESTDIR)$(DOCSDIR)/.
+ -cp -f ../usermanual $(DESTDIR)$(DOCSDIR)/.
|