mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-20 03:43:45 +00:00
34 lines
1.4 KiB
Diff
34 lines
1.4 KiB
Diff
|
diff --git a/Makefile.in b/Makefile.in
|
||
|
index 7aac403..c21a396 100644
|
||
|
--- a/Makefile.in
|
||
|
+++ b/Makefile.in
|
||
|
@@ -563,7 +563,7 @@ set_installuser=
|
||
|
## work correctly, and therefore no idea when tar can be replaced.
|
||
|
## See also these comments from 2004 about cp -r working fine:
|
||
|
## http://lists.gnu.org/archive/html/autoconf-patches/2004-11/msg00005.html
|
||
|
-install-arch-indep: lisp install-info install-man ${INSTALL_ARCH_INDEP_EXTRA}
|
||
|
+install-arch-indep: lisp install-info install-man ${INSTALL_ARCH_INDEP_EXTRA} tags
|
||
|
-set ${COPYDESTS} ; \
|
||
|
unset CDPATH; \
|
||
|
$(set_installuser); \
|
||
|
@@ -617,6 +617,19 @@ install-arch-indep:
|
||
|
done; \
|
||
|
${GZIP_PROG} -9n "../etc/publicsuffix.txt"; \
|
||
|
}
|
||
|
+ for d in src lwlib ; do \
|
||
|
+ srcdir="$(DESTDIR)${datadir}/emacs/${version}/$$d" ; \
|
||
|
+ mkdir -p $$srcdir ; \
|
||
|
+ find $$d -name "*.[chm]" -exec cp {} $$srcdir \; ; \
|
||
|
+ done
|
||
|
+ for d in src lisp lwlib ; do \
|
||
|
+ srcdir="$(DESTDIR)${datadir}/emacs/${version}/$$d" ; \
|
||
|
+ cp $$d/TAGS $$srcdir ; \
|
||
|
+ echo '((nil . ((tags-file-name . "TAGS"))))' > $$srcdir/.dir-locals.el ; \
|
||
|
+ done
|
||
|
+ mkdir -p "$(DESTDIR)${datadir}/emacs/${version}/site-lisp"
|
||
|
+ echo "(setq find-function-C-source-directory \"$(DESTDIR)${datadir}/emacs/${version}/src\")" \
|
||
|
+ > "$(DESTDIR)${datadir}/emacs/${version}/site-lisp/site-start.el"
|
||
|
-chmod -R a+r "$(DESTDIR)${datadir}/emacs/${version}" ${COPYDESTS}
|
||
|
|
||
|
## The above chmods are needed because "umask 022; tar ..." is not
|