Andy Baugh 4 rokov pred
rodič
commit
513c62b0ea
2 zmenil súbory, kde vykonal 3 pridanie a 5 odobranie
  1. 2 2
      Makefile
  2. 1 3
      Readme.md

+ 2 - 2
Makefile

@@ -1,8 +1,8 @@
 SHELL := /bin/bash
 
-# TODO detect other popular distros/have a fallback
 .PHONY: depend
-depend: prereq-debian
+depend:
+	[ -f "/etc/debian_version" ] make prereq-debian || make prereq-perl prereq-frontend
 
 .PHONY: install
 install:

+ 1 - 3
Readme.md

@@ -3,15 +3,13 @@ tCMS
 
 A flexible perl CMS which supports multiple data models and content types
 
-On debian, deployment is currently:
+Deployment is currently:
 * make depend
 * make install
 * Set up proxy rule in your webserver
 * open tmux or screen
 * `starman -p $PORT www/server.psgi`
 
-...On non-debian unixy environments, take a look at the Makefile and run the prereq steps that look right for you.
-
 TODO: Make the makefile not rewrite itself when running make! Reset for now after run.
 
 A Dockerfile and deployment scripts are provided for your convenience in building/running containers based on this: