diff octMakefile.in @ 8719:679c270b7584

install DOC and NEWS in $octetcdir
author John W. Eaton <jwe@octave.org>
date Wed, 11 Feb 2009 01:02:54 -0500
parents 87cb8b2e4f14
children 3cedb606145d
line wrap: on
line diff
--- a/octMakefile.in
+++ b/octMakefile.in
@@ -132,7 +132,7 @@
 	$(INSTALL_SCRIPT) mkoctfile $(DESTDIR)$(bindir)/mkoctfile-$(version)
 	(cd $(DESTDIR)$(bindir); $(LN_S) mkoctfile-$(version) $(DESTDIR)$(bindir)/mkoctfile)
 	$(INSTALL_DATA) config.h $(DESTDIR)$(octincludedir)/octave/config.h
-	$(INSTALL_DATA) $(srcdir)/NEWS $(DESTDIR)$(datadir)/octave/$(version)/NEWS
+	$(INSTALL_DATA) $(srcdir)/NEWS $(DESTDIR)$(octetcdir)/NEWS
 
 uninstall::
 	rm -f $(DESTDIR)$(bindir)/octave-bug
@@ -142,7 +142,7 @@
 	rm -f $(DESTDIR)$(bindir)/mkoctfile
 	rm -f $(DESTDIR)$(bindir)/mkoctfile-$(version)
 	rm -f $(DESTDIR)$(octincludedir)/octave/config.h
-	rm -f $(DESTDIR)$(datadir)/octave/$(version)/NEWS
+	rm -f $(DESTDIR)$(octetcdir)/NEWS
 
 maintainer-clean::
 	@echo ""