makefile: Improve readability of settings.py install command
This commit is contained in:
parent
ec17f7d329
commit
50e44ce22d
@ -24,11 +24,10 @@ endif
|
|||||||
cp backup.py $(DESTDIR)$(PYTHON_QUBESPATH)
|
cp backup.py $(DESTDIR)$(PYTHON_QUBESPATH)
|
||||||
cp backup.py[co] $(DESTDIR)$(PYTHON_QUBESPATH)
|
cp backup.py[co] $(DESTDIR)$(PYTHON_QUBESPATH)
|
||||||
ifneq ($(BACKEND_VMM),)
|
ifneq ($(BACKEND_VMM),)
|
||||||
test -r settings-$(SETTINGS_SUFFIX).py && \
|
if [ -r settings-$(SETTINGS_SUFFIX).py ]; then \
|
||||||
cp settings-$(SETTINGS_SUFFIX).py $(DESTDIR)$(PYTHON_QUBESPATH)/settings.py
|
cp settings-$(SETTINGS_SUFFIX).py $(DESTDIR)$(PYTHON_QUBESPATH)/settings.py && \
|
||||||
test -r settings-$(SETTINGS_SUFFIX).pyc && \
|
cp settings-$(SETTINGS_SUFFIX).pyc $(DESTDIR)$(PYTHON_QUBESPATH)/settings.pyc && \
|
||||||
cp settings-$(SETTINGS_SUFFIX).pyc $(DESTDIR)$(PYTHON_QUBESPATH)/settings.pyc
|
cp settings-$(SETTINGS_SUFFIX).pyo $(DESTDIR)$(PYTHON_QUBESPATH)/settings.pyo; \
|
||||||
test -r settings-$(SETTINGS_SUFFIX).pyo && \
|
fi
|
||||||
cp settings-$(SETTINGS_SUFFIX).pyo $(DESTDIR)$(PYTHON_QUBESPATH)/settings.pyo
|
|
||||||
endif
|
endif
|
||||||
make -C storage install
|
make -C storage install
|
||||||
|
Loading…
Reference in New Issue
Block a user