1
0
mirror of https://github.com/TREX-CoE/trexio.git synced 2024-12-23 04:43:57 +01:00

fix distcheck rule

This commit is contained in:
q-posev 2021-04-30 20:10:06 +02:00
parent be8386f770
commit a9c506dd15
2 changed files with 2 additions and 2 deletions

View File

@ -77,7 +77,7 @@ FORCE:
distcheck: $(distdir).tar.gz
gzip -cd $(distdir).tar.gz | tar xvf -
cd $(distdir) && \
./configure prefix=$${PWD}/$(distdir) CC="$(CC)" CFLAGS="$(CFLAGS)" && \
./configure prefix=$${PWD} CC="$(CC)" CFLAGS="$(CFLAGS)" && \
$(MAKE) all && \
$(MAKE) check && \
$(MAKE) DESTDIR=$${PWD}/_inst install && \

View File

@ -101,7 +101,7 @@ trexio.c trexio_f.f90 trexio.h: $(ORG_FILES)
# install should avoid build target due to possible conflict when prefix overriden
install:
$(INSTALL) -d $(DESTDIR)$(libdir) $(DESTDIR)$(includedir)
cp libtrexio.so $(DESTDIR)$(libdir)
cp $(libdir)/libtrexio.so $(DESTDIR)$(libdir)
cp trexio*.h $(DESTDIR)$(includedir)
cp trexio.mod $(DESTDIR)$(includedir)