Code

doc: Renamed junosc.txt to junosc.1.txt.
[libjunos.git] / doc / Makefile.am
index b9a7f7d207b8a5340e90d6dd9a50b3f30a63725b..ad6056766283983f6c2e19281bc5e241104f3039 100644 (file)
@@ -3,9 +3,9 @@ CLEANFILES = junosc.1
 
 man_MANS = junosc.1
 
-junosc.1: junosc.txt ../version
+junosc.1: junosc.1.txt ../version
 
-.txt.1:
+%.1: %.1.txt
        @A2X@ -d manpage -f manpage \
                -apackage_version=$(PACKAGE_VERSION) \
                -abuild_date="$$( date --utc '+%F' )" \