Просмотр исходного кода

build: Replace all / with :: on perl module man pages filenames

The current sed expression was only replacing the first one, which
didn't take into account nested modules.
Guillem Jover лет назад: 16
Родитель
Сommit
7dd42b94cf
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      scripts/Makefile.am

+ 1 - 1
scripts/Makefile.am

@@ -154,7 +154,7 @@ install-data-hook:
 uninstall-local:
 uninstall-local:
 if BUILD_POD_DOC
 if BUILD_POD_DOC
 	for module in $(nobase_dist_perllib_DATA); do \
 	for module in $(nobase_dist_perllib_DATA); do \
-	    rm -f $(DESTDIR)$(man3dir)/`echo $$module | sed -e 's|/|::|' -e 's/\.pm$$/.3/'`; \
+	    rm -f $(DESTDIR)$(man3dir)/`echo $$module | sed -e 's|/|::|g' -e 's/\.pm$$/.3/'`; \
 	done
 	done
 endif
 endif
 	rm -f $(DESTDIR)$(sysconfdir)/alternatives/README
 	rm -f $(DESTDIR)$(sysconfdir)/alternatives/README