From: hylom Date: Mon, 3 Sep 2018 10:19:13 +0000 (+0900) Subject: debian: fix rules file X-Git-Tag: v0.1.5~49 X-Git-Url: http://git.osdn.net/view?p=newslash%2Fnewslash.git;a=commitdiff_plain;h=44213a8dcb9ffcd48b4aaf0bd474f9431b345dfc debian: fix rules file --- diff --git a/debian/rules b/debian/rules index bdceeb77..43d906b3 100755 --- a/debian/rules +++ b/debian/rules @@ -40,31 +40,14 @@ install/$(CORE):: install/$(ASSETS):: cd $(SRCDIR); \ - find ./templates -name '*.tt2' \ - -exec install -pDm 644 {} $(ASSETS_DEST)/{} \; - cd $(SRCDIR); \ - find ./css ! -name '*~' ! -type l \ - -exec install -pDm 644 {} $(ASSETS_DEST)/{} \; - ln -sf ../external/bootstrap-3.3.7/less $(ASSETS_DEST)/css/bootstrap - cd $(SRCDIR); \ - find ./public/img ! -name '*~' ! -type l \ - -exec install -pDm 644 {} $(ASSETS_DEST)/{} \; - cd $(SRCDIR); \ - find ./public/jquery ! -name '*~' ! -type l \ - -exec install -pDm 644 {} $(ASSETS_DEST)/{} \; - cd $(SRCDIR); \ - find ./public/js ! -name '*~' ! -type l \ - -exec install -pDm 644 {} $(ASSETS_DEST)/{} \; - cd $(SRCDIR); \ - find ./public/vue ! -name '*~' ! -type l \ + find ./{css,public,templates} ! -name '*~' \ -exec install -pDm 644 {} $(ASSETS_DEST)/{} \; cd $(SRCDIR); \ find ./external/bootstrap-3.3.7 ! -name '*~' ! -type l \ -exec install -pDm 644 {} $(ASSETS_DEST)/{} \; - ln -sf ../../external/escape-html.js/js/escape-html.js $(ASSETS_DEST)/public/js/escape-html.js - ln -sf ../external/bootstrap-3.3.7/dist $(ASSETS_DEST)/public/bootstrap ln -sf ../external/bootstrap-3.3.7/fonts $(ASSETS_DEST)/public/fonts install -pDm 644 $(SRCDIR)/external/escape-html.js/js/escape-html.js $(ASSETS_DEST)/external/escape-html.js/js/escape-html.js + ln -sf ../../external/escape-html.js/js/escape-html.js $(ASSETS_DEST)/public/js/escape-html.js install -pDm 644 $(SRCDIR)/public/robots.txt $(ASSETS_DEST)/public/robots.txt install -pDm 644 $(SRCDIR)/public/favicon.ico $(ASSETS_DEST)/public/ mkdir $(ASSETS_DEST)/public/css diff --git a/src/newslash_web/public/bootstrap b/src/newslash_web/public/bootstrap deleted file mode 120000 index f1c9d8d5..00000000 --- a/src/newslash_web/public/bootstrap +++ /dev/null @@ -1 +0,0 @@ -../external/bootstrap-3.3.7/dist \ No newline at end of file