blob: 1bb5d418497f5bf936efea4a3afe19ba19829b0e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
CLEANFILES =
BUILT_SOURCES =
EXTRA_DIST =
bin_SCRIPTS =
man1_MANS =
UPLOAD_FILES =
doc_DATA =
dist_doc_DATA =
ACLOCAL_AMFLAGS = -I m4 --install
include Makefile-files
include doc/Makefile-files
include git-amb/Makefile-files
if HAVE_NDIM_MAN2TXT
.man.txt:
$(NDIM_MAN2TXT) "$<" > "$@.new"
test -s "$@.new"
mv -f "$@.new" "$@"
endif
tag:
test -d "$(top_srcdir)/.git"
cd "$(top_srcdir)" && git status;:
@echo "Do you really want to tag this as rel-$(PACKAGE_VERSION)? Enter to continue, Ctrl-C to abort."
@read
cd "$(top_srcdir)" && git tag "rel-$(PACKAGE_VERSION)"
UPLOAD_DIR = upload-dir
UPLOAD_FILES += $(distdir).tar.bz2
upload: tag git-amb/git-amb git-amb/git-amb.txt dist
rm -rf "$(UPLOAD_DIR)"
mkdir -p "$(UPLOAD_DIR)"
for f in $(UPLOAD_FILES); do \
ln "$$(test -e "$$f" || echo "$(top_srcdir)/")$$f" "$(UPLOAD_DIR)/"; \
done
rsync -avz --delete "$(UPLOAD_DIR)/" $(RSYNC_HOST):$(RSYNC_DIR)/$(PACKAGE_TARNAME)/
rm -rf "$(UPLOAD_DIR)"
clean-local:
rm -rf "$(UPLOAD_DIR)"
|