-
Notifications
You must be signed in to change notification settings - Fork 28
/
Makefile.am
53 lines (40 loc) · 1.32 KB
/
Makefile.am
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
43
44
45
46
47
48
49
50
51
52
53
EXTRA_INST = AUTHORS VERSION
EXTRA_DIST = eprints.spec AUTHORS VERSION README.pod debian
install-data-hook:
mkdir -p $(DESTDIR)$(PREFIX)
@for f in $(EXTRA_INST); do \
$(INSTALL_DATA) $$f $(DESTDIR)$(PREFIX)/$$f; \
done
DESTDIR=$(DESTDIR) $(PERL_PATH) install.pl
dist-hook:
DESTDIR=$(CURDIR)/$(distdir) $(PERL_PATH) install.pl --dist
uninstall-hook:
$(PERL_PATH) install.pl --uninstall
all: ChangeLog INSTALL README VERSION
ChangeLog:
$(PERL_PATH) tools/gitlog-to-changelog > ChangeLog
INSTALL:
pod2text README.pod > INSTALL
README:
pod2text README.pod > README
VERSION:
echo $(VERSION) > VERSION
dist-core: distdir
-rm -f $(distdir).tar.gz
tar czf $(distdir).tar.gz --exclude "$(distdir)/flavours" $(distdir)
$(am__post_remove_distdir)
dist-flavours: distdir
-rm -f $(distdir)-flavours.tar.gz
tar czf $(distdir)-flavours.tar.gz $(distdir)/flavours
$(am__post_remove_distdir)
clean-local:
-rm -f ChangeLog INSTALL README VERSION
distclean-local:
-rm -f eprints.spec perl_lib/EPrints/SystemSettings.pm bin/epindexer
-rm -f debian/changelog debian/ debian/postinst debian/postrm debian/preinst debian/prerm
realclean: distclean
-rm -f configure Makefile.in aclocal.m4 install-sh missing
-rm -rf autom4te.cache
# won't back-port the master test features onto 3.3
test:
EPRINTS_NO_CHECK_USER=1 $(PERL_PATH) bin/epadmin test