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:
parent
be8386f770
commit
a9c506dd15
@ -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 && \
|
||||
|
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user