Skip to content
  • akpu1's avatar
    Significant Makefile improvements (#21) · 0d539ff4
    akpu1 authored
    * Refactored makefile
    
    Fixed min-js error; renamed routines inline with make conventions
    
    Previously min-js would continually append to the file with `@echo "// @source https://github.com/pomf/pomf/tree/master/static/js" >> ./dist/pomf.min.js`.  Fixed so that it overwrites the file whenever it is run now.
    
    mkdirs was renamed to installdirs as per makefile conwentions
    copy was renamed to install for the same reasons
    
    Added clean rule
    
    Removed install from default target
    
    Added DESTDIR,uninstall support
    
    Added dist support
    
    Replaced static program paths; misc improvements
    
    Added missing installdirs target to default target
    
    Added npm_dependencies target
    
    Properly separated "build" and install targets
    
    Modified readme to reflect make install and DESTDIR
    
    Modified .travis.yml to reflect make npm_dependencies
    
    Reverted to cp for install target, temporarily
    
    Ideally this target would use install, but need to work out how to do that properly,...
    0d539ff4