Imported Upstream version 2.6.0
This commit is contained in:
parent
26fb71b504
commit
459aaf9392
510 changed files with 40508 additions and 18859 deletions
16
scripts/augeas/Makefile.am
Normal file
16
scripts/augeas/Makefile.am
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
|
||||
EXTRA_DIST = gen-nutupsconf-aug.py nutupsconf.aug.tpl \
|
||||
README tests/test_nut.aug
|
||||
|
||||
# only call the script to generate Augeas ups.conf lens upon "make dist",
|
||||
# and if Python is present
|
||||
dist-hook:
|
||||
@if python -c pass; then \
|
||||
echo "Regenerating Augeas ups.conf lens."; \
|
||||
$(distdir)/gen-nutupsconf-aug.py $(distdir)/; \
|
||||
else \
|
||||
echo "----------------------------------------------------------------------"; \
|
||||
echo "Warning: Python is not available."; \
|
||||
echo "Skipping Augeas ups.conf lens regeneration."; \
|
||||
echo "----------------------------------------------------------------------"; \
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue