Skip to content
GitLab
    • Explore Projects Groups Snippets
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bootstrap
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 263
    • Issues 263
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 114
    • Merge requests 114
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Bootstrap
  • bootstrap
  • Merge requests
  • !2881
An error occurred while fetching the assigned milestone of the selected merge_request.

proper dependencies for makefile

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Administrator requested to merge github/fork/defunctzombie/master into master 13 years ago
  • Overview 0
  • Commits 1
  • Pipelines 0
  • Changes 2

Created by: defunctzombie

Will cause a rebuild of boostrap if any of the less or js files have changed.

Compare
  • master (base)

and
  • latest version
    56efe7dd
    1 commit, 2 years ago

2 files
+ 15
- 5

    Preferences

    File browser
    Compare changes
.giti‎gnore‎ +4 -1
Make‎file‎ +11 -4
.gitignore
+ 4
- 1
  • View file @ 56efe7dd


@@ -31,4 +31,7 @@ nbproject
.hg
.svn
.CVS
.idea
\ No newline at end of file
.idea
# build output
bootstrap
Makefile
+ 11
- 4
  • View file @ 56efe7dd


@@ -2,8 +2,12 @@ BOOTSTRAP = ./docs/assets/css/bootstrap.css
BOOTSTRAP_LESS = ./less/bootstrap.less
BOOTSTRAP_RESPONSIVE = ./docs/assets/css/bootstrap-responsive.css
BOOTSTRAP_RESPONSIVE_LESS = ./less/responsive.less
LESS_COMPRESSOR ?= `which lessc`
WATCHR ?= `which watchr`
LESS_FILES = ./less/*.less
JS_FILES = ./js/*.js
LESS_COMPRESSOR ?= $(which lessc)
WATCHR ?= $(which watchr)
all: bootstrap
#
# BUILD DOCS
@@ -25,7 +29,7 @@ docs: bootstrap
# lessc & uglifyjs are required
#
bootstrap:
bootstrap: ${LESS_FILES} ${JS_FILES}
mkdir -p bootstrap/img
mkdir -p bootstrap/css
mkdir -p bootstrap/js
@@ -40,6 +44,9 @@ bootstrap:
cat bootstrap/js/copyright.js bootstrap/js/bootstrap.min.tmp.js > bootstrap/js/bootstrap.min.js
rm bootstrap/js/copyright.js bootstrap/js/bootstrap.min.tmp.js
clean:
rm -rf bootstrap
#
# MAKE FOR GH-PAGES 4 FAT & MDO ONLY (O_O )
#
@@ -58,4 +65,4 @@ watch:
watchr -e "watch('less/.*\.less') { system 'make' }"
.PHONY: docs watch gh-pages
.PHONY: docs watch gh-pages clean
0 Assignees
None
Assign to
0 Reviewers
None
Request review from
Labels
0
None
0
None
    Assign labels
  • Manage project labels

Milestone
No milestone
None
None
Time tracking
No estimate or time spent
Lock merge request
Unlocked
1
1 participant
Administrator
Reference:
Source branch: github/fork/defunctzombie/master

Menu

Explore Projects Groups Snippets