blob: 1aa5a5f4681a7b0963a2982c3b49ba5b2cee2871 (
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
|
--- Makefile.in.orig 2011-07-15 20:30:52.000000000 +0200
+++ Makefile.in 2013-04-30 15:46:51.000000000 +0200
@@ -199,11 +199,12 @@
@$(INSTALL_DATA_DIR) $(DESTDIR)$(mandir)/mann
@echo "Installing man pages in $(DESTDIR)$(mandir)"
@cd $(srcdir)/doc; for i in *.n; do \
- echo "Installing $$i"; \
- rm -f $(DESTDIR)$(mandir)/mann/`basename $$i`; \
+ sfxname=`basename $$i | sed -e 's|.n$$|.itcl|'`; \
+ echo "Installing $$i as $(DESTDIR)$(mandir)/mann/$$sfxname"; \
+ rm -f $(DESTDIR)$(mandir)/mann/$$sfxname; \
sed -e '/man\.macros/r man.macros' -e '/man\.macros/d' \
- $$i > $(DESTDIR)$(mandir)/mann/$$i; \
- chmod 444 $(DESTDIR)$(mandir)/mann/$$i; \
+ $$i > $(DESTDIR)$(mandir)/mann/$$sfxname; \
+ chmod 444 $(DESTDIR)$(mandir)/mann/$$sfxname; \
done
test: binaries libraries
@@ -378,7 +379,7 @@
fi; \
done
$(INSTALL_DATA) pkgIndex.tcl $(DESTDIR)$(pkglibdir)
- $(INSTALL_DATA) itclConfig.sh $(DESTDIR)$(libdir)
+ $(INSTALL_DATA) itclConfig.sh $(DESTDIR)$(pkglibdir)
#========================================================================
# Install binary executables (e.g. .exe files)
|