Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #16067: Remove ncf.io site #1091

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
33 changes: 0 additions & 33 deletions Makefile
Expand Up @@ -29,7 +29,6 @@ localdepends:

# Install ncf in DESTDIR
install:
mkdir -p $(DESTDIR)
mkdir -p $(DESTDIR)/share/doc/ncf
$(CP_A) examples $(DESTDIR)/share/doc/ncf/
$(INSTALL) -m 644 README.md $(DESTDIR)/share/doc/ncf/
Expand All @@ -42,7 +41,6 @@ install:
mkdir -p $(DESTDIR)/bin
ln -sf ../share/ncf/ncf $(DESTDIR)/bin/ncf
mkdir -p $(DESTDIR)/share/man/man1
$(INSTALL) -m 644 doc/ncf.1 $(DESTDIR)/share/man/man1/

test: test-common
cd tests/acceptance/ && ./testall --info
Expand All @@ -55,34 +53,6 @@ test-common:
cd tests/style/ && ./testall
cd tests/unit/ && ./testall

doc:
mkdir -p doc
ls tree/30_generic_methods/*.cf | xargs egrep -h "^\s*bundle\s+agent\s+" | sed -r "s/\s*bundle\s+agent\s+//" | sort > doc/all_generic_methods.txt
tools/ncf_doc.py
rm -f tools/ncf_doc.pyc
rm -f tools/ncf.pyc

doc/ncf.1:
cd doc && a2x --doctype manpage --format manpage ncf.asciidoc

html: doc
# To use this, run pip install pelican Markdown

# Copy README.md and prefix it with metadata to make the site's index file
echo "Title: A powerful and structured CFEngine framework" > site/content/index.md
echo "URL: " >> site/content/index.md
echo "save_as: index.html" >> site/content/index.md
# Skip the first line (title that will be re-added by pelican)
tail -n+2 README.md >> site/content/index.md

# Copy reference data
cp doc/generic_methods.md site/content/
cp doc/generic_methods.html site/pelican-bootstrap3/templates/includes/
cd site; make html

testsite: html
cd site; make serve

clean:
rm -rf tests/style/.succeeded
rm -f tests/style/summary.log
Expand All @@ -96,9 +66,6 @@ clean:
rm -f tests/acceptance/test.xml
rm -f tests/acceptance/xml.tmp
rm -rf tests/acceptance/workdir/
rm -f doc/all_generic_methods.txt
rm -f doc/generic_methods.md
rm -f doc/ncf.1
find $(CURDIR) -name "*.[pP][yY][cC]" -exec rm "{}" \;

distclean: clean
Expand Down
108 changes: 0 additions & 108 deletions site/Makefile

This file was deleted.

1 change: 0 additions & 1 deletion site/content/.placeholder

This file was deleted.

24 changes: 0 additions & 24 deletions site/content/FAQ.md

This file was deleted.

96 changes: 0 additions & 96 deletions site/content/Quickstart.md

This file was deleted.

21 changes: 0 additions & 21 deletions site/content/about.md

This file was deleted.

6 changes: 0 additions & 6 deletions site/content/bugtracker.md

This file was deleted.

7 changes: 0 additions & 7 deletions site/content/download.md

This file was deleted.

36 changes: 0 additions & 36 deletions site/content/extra/custom.css

This file was deleted.