File: Makefile.am

package info (click to toggle)
libxc 4.3.4-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 58,520 kB
  • sloc: ansic: 19,150; perl: 1,157; python: 803; f90: 639; makefile: 317; sh: 107
file content (34 lines) | stat: -rw-r--r-- 1,457 bytes parent folder | download | duplicates (2)
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
## Process this file with automake to produce Makefile.in

## Copyright (C) 2002 M. Marques, A. Castro, A. Rubio, G. Bertsch
##
## This Source Code Form is subject to the terms of the Mozilla Public
## License, v. 2.0. If a copy of the MPL was not distributed with this
## file, You can obtain one at http://mozilla.org/MPL/2.0/.
##

ACLOCAL_AMFLAGS = -I m4
SUBDIRS = build scripts maple src testsuite cmake pylibxc

include_HEADERS = xc_version.h
EXTRA_DIST = ChangeLog PACKAGING TODO KNOWN_ISSUES setup.py config.h.cmake.in CMakeLists.txt

CLEANFILES = *~ *.bak

# These files are in the repository, and the command below should be run 
# to update them whenever references are changed.
# references.c references.h: get_references.pl ../libxc.bib
references:
	(cd $(srcdir)/src && ../scripts/get_references.pl ../libxc.bib)

rpm: dist
	@topdir=`rpmbuild --showrc | @GREP@ ': *_topdir' | cut -f 2`; \
	mv -f $(PACKAGE)-$(VERSION).tar.gz $$topdir/SOURCES; \
	cp build/$(PACKAGE).spec $$topdir/SPECS; \
	rpmbuild -ba $$topdir/SPECS/$(PACKAGE).spec; \
	echo "-------------------------------------------------------------"; \
        echo "  RPMs are built, and are located under:"; \
        echo "       $$topdir/RPMS/<arch>"; \
        echo "       $$topdir/SRPMS"; \
        echo "-------------------------------------------------------------"
#       scp $(RPM_DIR)/RPMS/*/libxc*.rpm marques@www.tddft.org:/server/www/tddft.org/programs/octopus/download/