Skip to content

Commit

Permalink
Builder|Cleanup: Readme is no longer generated by autobuilder
Browse files Browse the repository at this point in the history
When Amethyst is installed on the system, CMake will generate the
readme and man pages as part of the build so they are guaranteed
to be up-to-date.
  • Loading branch information
skyjake committed May 29, 2015
1 parent 4fcb026 commit 6223a96
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 32 deletions.
8 changes: 0 additions & 8 deletions distrib/autobuild.py
Expand Up @@ -428,13 +428,6 @@ def generate_apidoc():
system_command('wc -l ../../../doxyissues-hexen.txt')


def generate_readme():
"""Run Amethyst to generate readme documentation."""
git_pull()
os.chdir(os.path.join(builder.config.DISTRIB_DIR, '../doomsday/doc/output'))
system_command('make clean all')


def generate_wiki():
"""Automatically generate wiki pages."""
git_pull()
Expand Down Expand Up @@ -541,7 +534,6 @@ def sorted_commands():
'purge': purge_obsolete,
'cleanup': dir_cleanup,
'apidoc': generate_apidoc,
'readme': generate_readme,
'wiki': generate_wiki,
'web_init': web_init,
'web_update': web_update,
Expand Down
5 changes: 0 additions & 5 deletions distrib/pilot.py
Expand Up @@ -354,10 +354,6 @@ def doTask(task):
msg("PURGE")
return autobuild('purge')

elif task == 'generate_readme':
msg("GENERATE README")
return autobuild('readme')

elif task == 'generate_apidoc':
msg("GENERATE API DOCUMENTATION")
return autobuild('apidoc')
Expand Down Expand Up @@ -390,7 +386,6 @@ def handleCompletedTasks():
elif task == 'tag_build':
newTask('deb_changes', forClient='ubuntu-32bit')
newTask('mac_meta', forClient='master')
newTask('generate_readme', forClient='dox')

elif task == 'deb_changes':
newTask('build', allClients=True)
Expand Down
20 changes: 1 addition & 19 deletions doomsday/doc/output/Makefile
Expand Up @@ -9,25 +9,7 @@ sv_main := ../server/server.ame

.PHONY: wiki

all: doomsday.6 doomsday-server.6 doomsday-shell-text.6 Read\ Me.rtf readme.txt wiki

doomsday.6: $(readme_sources)
amethyst -dMAN -dUNIX -odoomsday.6 $(readme_main)

Read\ Me.rtf: $(readme_sources)
amethyst -dRTF -dMACOSX -oRead\ Me.rtf $(readme_main)

readme.txt: $(readme_sources)
amethyst -dTXT -dWIN32 -dCR_NL -oreadme.txt $(readme_main)

doomsday-server.6: $(sv_sources)
amethyst -dMAN -dUNIX -odoomsday-server.6 $(sv_main)

doomsday-shell-text.6: $(shell_sources)
amethyst -dMAN -dUNIX -odoomsday-shell-text.6 $(shell_main)
all: wiki

wiki:
python /Users/jaakko/Dropbox/Scripts/readme_to_wiki.py

clean:
rm -f doomsday.6 Read\ Me.rtf readme.txt

0 comments on commit 6223a96

Please sign in to comment.