diff options
| author | Paul Buetow <paul@buetow.org> | 2026-02-13 20:48:13 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-02-13 20:48:13 +0200 |
| commit | bd095a1b9a2027a1ff43fe4b6fa04d0354ca062c (patch) | |
| tree | ed4c8fad86c1b8347cc86020e0793822ae76a788 /Makefile | |
| parent | 20e3db5bcb04bc57377432126404b5e99d0b0a92 (diff) | |
Convert POD documentation to Markdown and migrate to Justfile
- Convert all POD files to Markdown format
- Replace Makefile with justfile for build automation
- Remove deprecated Debian packaging files and related directories
- Update copyright year from 2013 to 2026 in Constants.pm and loadbars
- Remove obsolete docs directory (bugs, wishlist, and generated files)
- Fix sum() function in Utils.pm to handle undef values properly
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/Makefile b/Makefile deleted file mode 100644 index 2bb2ba2..0000000 --- a/Makefile +++ /dev/null @@ -1,48 +0,0 @@ -NAME=loadbars -all: version documentation perltidy -version: - cut -d' ' -f2 debian/changelog | head -n 1 | sed 's/(//;s/)//' > .version -profile: - perl -d:NYTProf loadbars --hosts localhost - nytprofhtml nytprof.out -perltidy: - find . -name \*.pm | xargs perltidy -b - perltidy -b $(NAME) - find . -name \*.bak -delete -documentation: - pod2man --release="$(NAME) $$(cat .version)" \ - --center="User Commands" ./docs/$(NAME).pod > ./docs/$(NAME).1 - pod2text ./docs/$(NAME).pod > ./docs/$(NAME).txt - # For github page - cp ./docs/$(NAME).pod README.pod -install: - test ! -d $(DESTDIR)/usr/bin && mkdir -p $(DESTDIR)/usr/bin || exit 0 - test ! -d $(DESTDIR)/usr/share/$(NAME) && mkdir -p $(DESTDIR)/usr/share/$(NAME) || exit 0 - cp $(NAME) $(DESTDIR)/usr/bin - cp -r ./lib $(DESTDIR)/usr/share/$(NAME)/lib - cp -r ./fonts $(DESTDIR)/usr/share/$(NAME)/fonts - cp ./.version $(DESTDIR)/usr/share/$(NAME)/version -deinstall: - test ! -z "$(DESTDIR)" && test -f $(DESTDIR)/usr/bin/$(NAME) && rm $(DESTDIR)/usr/bin/$(NAME) || exit 0 - test ! -z "$(DESTDIR)/usr/share/$(NAME)" && -d $(DESTDIR)/usr/share/$(NAME) && rm -r $(DESTDIR)/usr/share/$(NAME) || exit 0 -dch: - dch -i -deb: version - dpkg-buildpackage -cleanall: clean-top - test -f nytprof.out && rm nytprof.out - test -f tmon.out && rm tmon.out - test -d nytprof && rm -Rf nytprof -release: dch deb version documentation perltidy dput - git commit -a -m 'New release' - bash -c "git tag $$(cat .version)" - git push --tags - git push origin master -clean-top: - rm ../$(NAME)_*.tar.gz - rm ../$(NAME)_*.dsc - rm ../$(NAME)_*.changes - rm ../$(NAME)_*.deb -dput: - dput -u wheezy-buetowdotorg ../$(NAME)_$$(cat ./.version)_amd64.changes - dput -u jessie-buetowdotorg ../$(NAME)_$$(cat ./.version)_amd64.changes |
