1## Process this file with automake to produce Makefile.in 2 3## Copyright (C) 2002 M. Marques, A. Castro, A. Rubio, G. Bertsch 4## 5## This program is free software; you can redistribute it and/or modify 6## it under the terms of the GNU General Public License as published by 7## the Free Software Foundation; either version 2, or (at your option) 8## any later version. 9## 10## This program is distributed in the hope that it will be useful, 11## but WITHOUT ANY WARRANTY; without even the implied warranty of 12## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13## GNU General Public License for more details. 14## 15## You should have received a copy of the GNU General Public License 16## along with this program; if not, write to the Free Software 17## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 18## 02110-1301, USA. 19## 20 21SUBDIRS = PSF HGH quantum-simulation.org pseudo-dojo.org 22 23ppdir = $(pkgdatadir)/pseudopotentials 24 25dist_pp_DATA = \ 26 elements.dat 27 28# In order to get `make check' working with a `VPATH' build (e. g. to use 29# the `distcheck' target) the pseudopotential files have to be accessible 30# in the build tree. 31check: 32 for f in $(dist_pp_DATA); do \ 33 if [ ! -e $$f -o $$f -ot $(srcdir)/$$f ]; then \ 34 cp $(srcdir)/$$f $$f; \ 35 fi \ 36 done 37 38clean-local: 39 if [ -n "$(top_builddir)" -a "$(top_builddir)" != "$(top_srcdir)" ]; then \ 40 rm -f $(dist_pp_DATA); \ 41 fi 42 43.PHONY: check 44 45