]> sourceware.org Git - automake.git/commitdiff
* mans.am: Strip dirname from given filename.
authorAlexandre Oliva <oliva@dcc.unicamp.br>
Sun, 6 Jun 1999 21:50:00 +0000 (21:50 +0000)
committerAlexandre Oliva <oliva@dcc.unicamp.br>
Sun, 6 Jun 1999 21:50:00 +0000 (21:50 +0000)
ChangeLog
lib/am/mans.am
mans.am

index ae6c66caa6134a760f34511fb494c8d98c2de0c8..11a08aa6f60eb989bc6a04e372c95d7927e1fa56 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+1999-06-07  Shuhei Amakawa <sa264@cam.ac.uk>
+
+       * mans.am: Strip dirname from given filename.
+
 1999-06-07  Jim Meyering  <meyering@ascend.com>
 
        * automake.in (handle_dist): Change emitted rules so that a failure
index 6c2401b0328ce3789fe5b9b437c8b737ad87763b..a50909224d7968911cce6214328e7094858bf2c1 100644 (file)
@@ -34,6 +34,7 @@ install-man@SECTION@:
 ## transform.
          ext=`echo $$i | sed -e 's/^.*\\.//'`; \
          inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+         inst=`echo $$inst | sed -e 's/^.*\///'`; \
          inst=`echo $$inst | sed '$(transform)'`.$$ext; \
          echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man@SECTION@dir)/$$inst"; \
          $(INSTALL_DATA) $$file $(DESTDIR)$(man@SECTION@dir)/$$inst; \
@@ -55,6 +56,7 @@ uninstall-man@SECTION@:
 ## transform.
          ext=`echo $$i | sed -e 's/^.*\\.//'`; \
          inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+         inst=`echo $$inst | sed -e 's/^.*\///'`; \
          inst=`echo $$inst | sed '$(transform)'`.$$ext; \
          echo " rm -f $(DESTDIR)$(man@SECTION@dir)/$$inst"; \
          rm -f $(DESTDIR)$(man@SECTION@dir)/$$inst; \
diff --git a/mans.am b/mans.am
index 6c2401b0328ce3789fe5b9b437c8b737ad87763b..a50909224d7968911cce6214328e7094858bf2c1 100644 (file)
--- a/mans.am
+++ b/mans.am
@@ -34,6 +34,7 @@ install-man@SECTION@:
 ## transform.
          ext=`echo $$i | sed -e 's/^.*\\.//'`; \
          inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+         inst=`echo $$inst | sed -e 's/^.*\///'`; \
          inst=`echo $$inst | sed '$(transform)'`.$$ext; \
          echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man@SECTION@dir)/$$inst"; \
          $(INSTALL_DATA) $$file $(DESTDIR)$(man@SECTION@dir)/$$inst; \
@@ -55,6 +56,7 @@ uninstall-man@SECTION@:
 ## transform.
          ext=`echo $$i | sed -e 's/^.*\\.//'`; \
          inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+         inst=`echo $$inst | sed -e 's/^.*\///'`; \
          inst=`echo $$inst | sed '$(transform)'`.$$ext; \
          echo " rm -f $(DESTDIR)$(man@SECTION@dir)/$$inst"; \
          rm -f $(DESTDIR)$(man@SECTION@dir)/$$inst; \
This page took 0.032211 seconds and 5 git commands to generate.