Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
teckids.org
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Operate
Environments
Monitor
Incidents
Service Desk
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Teckids
Team PR
teckids.org
Commits
93f7ffa3
Verified
Commit
93f7ffa3
authored
4 years ago
by
Nik | Klampfradler
Browse files
Options
Downloads
Patches
Plain Diff
Add make po
parent
92bdcac0
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#4877
passed
4 years ago
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Makefile
+6
-3
6 additions, 3 deletions
Makefile
with
6 additions
and
3 deletions
Makefile
+
6
−
3
View file @
93f7ffa3
PY
?=
python3
PELICAN
?=
pelican
PELICANOPTS
=
PO4A
?=
po4a
PO4A_CONF
?=
po4a.conf
BASEDIR
=
$(
CURDIR
)
INPUTDIR
=
$(
BASEDIR
)
/content
...
...
@@ -30,8 +32,7 @@ help:
@
echo
' make serve [PORT=8000] serve site at http://localhost:8000'
@
echo
' make serve-global [SERVER=0.0.0.0] serve (as root) to
$(
SERVER
)
:80 '
@
echo
' make devserver [PORT=8000] serve and regenerate together '
@
echo
' make ssh_upload upload the web site via SSH '
@
echo
' make rsync_upload upload the web site via rsync+ssh '
@
echo
' make po update translations using po4a '
@
echo
' '
@
echo
'Set the DEBUG variable to 1 to enable debugging, e.g. make DEBUG=1 html '
@
echo
'Set the RELATIVE variable to 1 to enable relative urls '
...
...
@@ -71,5 +72,7 @@ endif
publish
:
$(
PELICAN
)
$(
INPUTDIR
)
-o
$(
OUTPUTDIR
)
-s
$(
PUBLISHCONF
)
$(
PELICANOPTS
)
po
:
$(
PO4A
)
$(
PO4A_CONF
)
.PHONY
:
html help clean regenerate serve serve-global devserver
stopserver
publish
.PHONY
:
html help clean regenerate serve serve-global devserver publish
po
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment