#========================================================================
install-libraries: libraries
- $(mkinstalldirs) $(includedir)
- @echo "Installing header files in $(includedir)"
- @for i in $(GENERIC_HDRS) ; do \
- echo "Installing $$i" ; \
- $(INSTALL_DATA) $$i $(includedir) ; \
- done;
#========================================================================
# Install documentation. Unix manpages should go in the $(mandir)
$(mkinstalldirs) $(mandir)/man3
$(mkinstalldirs) $(mandir)/mann
@echo "Installing documentation in $(mandir)"
- @for i in $(srcdir)/*.n; \
+ @for i in $(srcdir)/doc/*.n; \
do \
echo "Installing $$i"; \
rm -f $(mandir)/mann/$$i; \
* We need this test here both for an empty string being
* passed in above, and so that if we are testing a unix
* absolute path /foo/bar we will come around the loop
- * with splitPosition at 0 for the last test, and we
+ * with splitPosition at 0 for the last iteration, and we
* must return then.
*/
if (splitPosition == 0) {
package require vfs
proc filelistrelative {filelist} {
- set dir [file normalize [file dirname [info script]]]
+ set dir [file normalize [file dirname [file dirname [info script]]]]
set len [string length $dir]
incr len
set res {}