52 lines
1.5 KiB
Makefile
52 lines
1.5 KiB
Makefile
################################################################################
|
|
# Makefile.am
|
|
# Copyright (C) 2025 Cor Legemaat <cor@cor.za.net>
|
|
#
|
|
# This file is part of ebuild-autogen: you can redistribute it and/or modify it
|
|
# under the terms of the GNU Affero General Public License as published by the
|
|
# Free Software Foundation, version 3 of the License.
|
|
|
|
# ebuild-autogen is distributed in the hope that it will be useful, 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 along with
|
|
# ebuild-autogen. If not, see <https://www.gnu.org/licenses/>.
|
|
################################################################################
|
|
|
|
ACLOCAL_AMFLAGS=-I m4
|
|
|
|
SUBDIRS = po ebuild doc
|
|
|
|
dist_doc_DATA = \
|
|
README.org \
|
|
COPYING \
|
|
AUTHORS \
|
|
INSTALL \
|
|
NEWS
|
|
|
|
# To use README.org instead of README.
|
|
README: README.org
|
|
|
|
AUTHORS:
|
|
$(file >AUTHORS,$(shell git --no-pager shortlog -sn --email HEAD))
|
|
.PHONY: AUTHORS
|
|
|
|
ChangeLog:
|
|
$(file >ChangeLog,$(shell git log --oneline --graph))
|
|
.PHONY: ChangeLog
|
|
|
|
release-tag:
|
|
$(shell git tag -a "v$(VERSION)" -m "Release v$(VERSION)")
|
|
$(shell git push origin "v$(VERSION)")
|
|
|
|
live:
|
|
sudo mkdir -p $(datadir)/guile/site/$(GUILE_EFFECTIVE_VERSION)/ebuild
|
|
sudo mount --bind -o ro ebuild \
|
|
$(datadir)/guile/site/$(GUILE_EFFECTIVE_VERSION)/ebuild/
|
|
|
|
# Remove doc directory on uninstall
|
|
uninstall-local:
|
|
-rm -r $(docdir)
|
|
|
|
# End of Makefile.am
|