contents: move all contents
diff --git a/Makefile b/Makefile
index daa6b60..5d8677e 100644
--- a/Makefile
+++ b/Makefile
@@ -3,13 +3,18 @@
 PELICANOPTS=
 
 BASEDIR=$(CURDIR)
-INPUTDIR=$(BASEDIR)/content
+CONFFILE=$(BASEDIR)/pelicanconf.py
+PUBLISHCONF=$(BASEDIR)/publishconf.py
 OUTPUTDIR=$(BASEDIR)/output
 OUTPUTDIR_THEME=$(OUTPUTDIR)/theme
 OUTPUTDIR_PHOTOS=$(OUTPUTDIR)/photos
 OUTPUTDIR_VIDEOS=$(OUTPUTDIR)/videos
-CONFFILE=$(BASEDIR)/pelicanconf.py
-PUBLISHCONF=$(BASEDIR)/publishconf.py
+
+ifeq ($(PELICAN_CONTENT),)
+ INPUTDIR=$(BASEDIR)/content
+else
+ INPUTDIR=$(PELICAN_CONTENT)
+endif
 
 FTP_HOST=localhost
 FTP_USER=anonymous