fix aux file installation
This commit is contained in:
parent
ceb768ae6e
commit
e56b493a9e
17
Makefile.in
17
Makefile.in
@ -40,6 +40,7 @@ includedir = @includedir@
|
||||
infodir = @infodir@
|
||||
prefix = @prefix@
|
||||
srcdir = @srcdir@
|
||||
abs_srcdir = @abs_srcdir@
|
||||
datadir = @datadir@
|
||||
datarootdir = @datarootdir@
|
||||
pythondir = @pythondir@
|
||||
@ -71,10 +72,10 @@ ifneq ($(VIRTUALENV),no)
|
||||
else
|
||||
$(PYTHON) $(srcdir)/setup.py install --prefix=$(DESTDIR)$(prefix)
|
||||
endif
|
||||
if [[ $(DESTDIR)$(prefix) != $(srcdir) ]]; then
|
||||
$(INSTALL_DATA) $(srcdir)/Makefile $(DESTDIR)$(prefix)/Makefile
|
||||
$(INSTALL_DATA) $(srcdir)/lazycelery.sh $(DESTDIR)$(prefix)/lazycelery.sh
|
||||
$(INSTALL_DATA) $(srcdir)/lazyserver.sh $(DESTDIR)$(prefix)/lazyserver.sh
|
||||
if [[ $(DESTDIR)$(prefix) != $(abs_srcdir) ]]; then \
|
||||
$(INSTALL_DATA) $(srcdir)/Makefile $(DESTDIR)$(prefix)/Makefile; \
|
||||
$(INSTALL_DATA) $(srcdir)/lazycelery.sh $(DESTDIR)$(prefix)/lazycelery.sh; \
|
||||
$(INSTALL_DATA) $(srcdir)/lazyserver.sh $(DESTDIR)$(prefix)/lazyserver.sh; \
|
||||
fi
|
||||
|
||||
# The same as "install", except use the "develop" setup.py target
|
||||
@ -89,10 +90,10 @@ ifneq ($(VIRTUALENV),no)
|
||||
else
|
||||
$(PYTHON) $(srcdir)/setup.py develop --prefix=$(DESTDIR)$(prefix)
|
||||
endif
|
||||
if [[ $(DESTDIR)$(prefix) != $(srcdir) ]]; then
|
||||
$(INSTALL_DATA) $(srcdir)/Makefile $(DESTDIR)$(prefix)/Makefile
|
||||
$(INSTALL_DATA) $(srcdir)/lazycelery.sh $(DESTDIR)$(prefix)/lazycelery.sh
|
||||
$(INSTALL_DATA) $(srcdir)/lazyserver.sh $(DESTDIR)$(prefix)/lazyserver.sh
|
||||
if [ "$(DESTDIR)$(prefix)" != "$(abs_srcdir)" ]; then \
|
||||
$(INSTALL_DATA) $(srcdir)/Makefile $(DESTDIR)$(prefix)/Makefile; \
|
||||
$(INSTALL_DATA) $(srcdir)/lazycelery.sh $(DESTDIR)$(prefix)/lazycelery.sh; \
|
||||
$(INSTALL_DATA) $(srcdir)/lazyserver.sh $(DESTDIR)$(prefix)/lazyserver.sh; \
|
||||
fi
|
||||
|
||||
|
||||
|
@ -57,7 +57,7 @@ AC_CONFIG_MACRO_DIR([m4])
|
||||
|
||||
# The default prefix should be changed from /usr/local. Set it, as in
|
||||
# the documentation, to /srv/mediagoblin.example.org/mediagoblin/
|
||||
AC_PREFIX_DEFAULT([/srv/mediagoblin.example.org/mediagoblin/])
|
||||
AC_PREFIX_DEFAULT([`pwd`])
|
||||
|
||||
|
||||
dnl###########################
|
||||
|
Loading…
x
Reference in New Issue
Block a user