Common instructions for my Python projects so I need to manage only one documentation. https://docs.franco.net.eu.org/fpydocs/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
fpydocs/Makefile

57 lines
1.3 KiB

2 years ago
#!/usr/bin/env make
#
# Makefile
#
# Copyright (C) 2020 frnmst (Franco Masotti) <franco.masotti@tutanota.com>
2 years ago
#
2 years ago
# This file is part of fpydocs.
2 years ago
#
2 years ago
# fpydocs is free software: you can redistribute it and/or modify
2 years ago
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
2 years ago
# fpydocs is distributed in the hope that it will be useful,
2 years ago
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
2 years ago
# along with fpydocs. If not, see <http://www.gnu.org/licenses/>.
2 years ago
#
export PACKAGE_NAME=fpydocs
default: doc
2 years ago
doc: clean
2 years ago
pipenv run $(MAKE) -C docs html
install:
@echo "setup not available for this project"
2 years ago
uninstall:
2 years ago
@echo "setup not available for this project"
2 years ago
install-dev:
pipenv install --dev
pipenv run pre-commit install
11 months ago
pipenv graph
11 months ago
pipenv check
2 years ago
uninstall-dev:
11 months ago
rm -f Pipfile.lock
2 years ago
pipenv --rm
11 months ago
update:
pipenv run pre-commit autoupdate
2 years ago
test:
@echo "tests not available for this project"
2 years ago
clean:
rm -rf build dist *.egg-info
pipenv run $(MAKE) -C docs clean
2 years ago
.PHONY: default doc install uninstall install-dev uninstall-dev test clean