forked from hep-mirrors/rivet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
39 lines (29 loc) · 878 Bytes
/
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
ACLOCAL_AMFLAGS = -I m4
SUBDIRS = src pyext data include bin analyses test doc
EXTRA_DIST = GUIDELINES
DISTCHECK_CONFIGURE_FLAGS = --enable-debug --with-yoda=$(YODAPATH) --with-hepmc=$(HEPMCPATH) --with-fastjet=$(FASTJETPATH)
pkgconfigdir = $(libdir)/pkgconfig
dist_pkgconfig_DATA = rivet.pc
doc:
cd doc && $(MAKE) doc
.PHONY : doc dox pyclean
clean-local:
@rm -rf a.out
## Doxygen
if WITH_DOXYGEN
dox:
@echo "Running Doxygen..."
@$(DOXYGEN) $(top_builddir)/Doxyfile || true
install-dox:
$(install_sh_DATA) doxy/html/* $(DESTDIR)$(pkgdatadir)/doc/html
mostlyclean-local:
@rm -rf $(top_builddir)/doxy
uninstall-local:
@rm -rf $(DESTDIR)$(pkgdatadir)/doc; \
test ! -d $(DESTDIR)$(pkgdatadir) || rmdir $(DESTDIR)$(pkgdatadir) || true
endif
## Upload to HepForge
RSH = rsync
DEST = login.hepforge.org:rivet/downloads/
upload: dist
$(RSH) $(DIST_ARCHIVES) $(DEST)