diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2001-08-03 20:49:26 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2001-08-03 20:49:26 +0000 |
commit | 0d2243aab0b6ba7fc241fae4a20b1a9a31540a26 (patch) | |
tree | 6c8e2e5be2a286b20c92743f54ca566a1be0fade | |
parent | 36c71dae935ba4b18896ffcfc069a64130731dfd (diff) | |
download | perl-MDK-Common-0d2243aab0b6ba7fc241fae4a20b1a9a31540a26.tar perl-MDK-Common-0d2243aab0b6ba7fc241fae4a20b1a9a31540a26.tar.gz perl-MDK-Common-0d2243aab0b6ba7fc241fae4a20b1a9a31540a26.tar.bz2 perl-MDK-Common-0d2243aab0b6ba7fc241fae4a20b1a9a31540a26.tar.xz perl-MDK-Common-0d2243aab0b6ba7fc241fae4a20b1a9a31540a26.zip |
doc terminated and added as index.html
-rw-r--r-- | Makefile | 13 | ||||
-rw-r--r-- | perl-MDK-Common.spec | 8 |
2 files changed, 18 insertions, 3 deletions
@@ -5,13 +5,24 @@ PREFIX = /usr BINDIR = $(PREFIX)/bin INSTALLSITEARCH = $(shell eval "`perl -V:installsitelib`"; echo $$installsitelib | sed 's,/usr,$(PREFIX),') +GENERATED = MDK/Common.pm index.html + +all: $(GENERATED) test + +index.html: MDK/Common.pm + pod2html $< > $@ + +MDK/Common.pm: %: %.pl + perl $< > $@ + test: ./perl_checker MDK/Common/*.pm clean: + rm -f $(GENERATED) find -name "*~" | xargs rm -rf -install: clean test +install: clean all install -d $(BINDIR) $(INSTALLSITEARCH)/MDK/Common install perl_checker $(BINDIR) install -m 644 MDK/Common.pm $(INSTALLSITEARCH)/MDK diff --git a/perl-MDK-Common.spec b/perl-MDK-Common.spec index bcf2471..dde79e6 100644 --- a/perl-MDK-Common.spec +++ b/perl-MDK-Common.spec @@ -2,7 +2,7 @@ # do not change the version here, change in MDK/Common.pm %define version THEVERSION -%define release 0.3mdk +%define release 1mdk %define perl_sitelib %(eval "`perl -V:installsitelib`"; echo $installsitelib) Summary: Various simple functions @@ -33,12 +33,16 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) -%doc COPYING +%doc COPYING index.html %{_bindir}/* %{perl_sitelib}/MDK # MODIFY IN THE CVS: cvs.mandrakesoft.com:/cooker soft/perl-MDK-Common %changelog +* Fri Aug 3 2001 Pixel <pixel@mandrakesoft.com> 1.0-1mdk +- doc finished +- index.html added (nicer than perldoc) + * Fri Aug 3 2001 Pixel <pixel@mandrakesoft.com> 1.0-0.3mdk - much doc added |