OSDN Git Service

debian: fix rules file
authorhylom <hylom@users.sourceforge.jp>
Mon, 3 Sep 2018 10:19:13 +0000 (19:19 +0900)
committerhylom <hylom@users.sourceforge.jp>
Mon, 3 Sep 2018 10:19:13 +0000 (19:19 +0900)
debian/rules
src/newslash_web/public/bootstrap [deleted symlink]

index bdceeb7..43d906b 100755 (executable)
@@ -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 (symlink)
index f1c9d8d..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../external/bootstrap-3.3.7/dist
\ No newline at end of file