2025-06-27 13:20:24 +02:00
|
|
|
################################################################################
|
|
|
|
# Makefile.am
|
|
|
|
# Copyright (C) 2025 Cor Legemaat <cor@cor.za.net>
|
|
|
|
#
|
|
|
|
# This file is part of scheme-dql: 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.
|
|
|
|
|
|
|
|
# scheme-dql 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
|
|
|
|
# scheme-dql. If not, see <https://www.gnu.org/licenses/>.
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
ACLOCAL_AMFLAGS=-I m4
|
|
|
|
|
2025-06-30 08:20:21 +02:00
|
|
|
SUBDIRS = po dql doc
|
2025-06-27 13:20:24 +02:00
|
|
|
|
|
|
|
dist_doc_DATA = \
|
|
|
|
README.org \
|
|
|
|
COPYING \
|
|
|
|
AUTHORS \
|
|
|
|
INSTALL \
|
|
|
|
NEWS
|
|
|
|
|
|
|
|
README: README.org
|
|
|
|
|
|
|
|
AUTHORS:
|
2025-06-30 08:20:21 +02:00
|
|
|
$(file >AUTHORS,$(shell git --no-pager shortlog -sn --email HEAD))
|
|
|
|
.PHONY: AUTHORS
|
2025-06-27 13:20:24 +02:00
|
|
|
|
|
|
|
ChangeLog:
|
2025-06-27 13:54:22 +02:00
|
|
|
$(file >ChangeLog,$(shell git log --oneline --graph))
|
2025-06-30 08:20:21 +02:00
|
|
|
.PHONY: ChangeLog
|
2025-06-27 13:54:22 +02:00
|
|
|
|
|
|
|
release-tag:
|
|
|
|
$(shell git tag -a "v$(VERSION)" -m "Release v$(VERSION)")
|
2025-06-30 08:20:21 +02:00
|
|
|
$(shell git push origin "v$(VERSION)")
|
2025-06-27 13:20:24 +02:00
|
|
|
|
|
|
|
live:
|
|
|
|
mkdir -p /usr/share/guile/site/dql
|
2025-06-30 08:20:21 +02:00
|
|
|
mount --bind -o ro dql /usr/share/guile/site/dql/
|
2025-06-27 13:20:24 +02:00
|
|
|
|
|
|
|
# Remove doc directory on uninstall
|
|
|
|
uninstall-local:
|
|
|
|
-rm -r $(docdir)
|
|
|
|
|
|
|
|
# End of Makefile.am
|