Skip to content
Snippets Groups Projects
Select Git revision
  • 98a656f9009ff009596bf9df65622aec689f02dc
  • master default protected
  • V1.8.2
  • V1.8.1
  • V1.8
  • V1.7
  • V1.6
  • V1.5.5
  • V1.5.4
  • V1.5.3
  • V1.5.2
  • V1.5.1
  • V1.5
  • V1.4
  • V1.3.1
  • V1.3
  • V1.2
  • V1.1
  • V1.0a
  • V1.0
20 results

Makefile

Blame
  • Makefile 693 B
    BASE=downloads_for_sale
    PLUGINTYPE=vmcustom
    VERSION=0.9
    
    PLUGINFILES=$(BASE).php $(BASE).script.php $(BASE).xml index.html
    
    TRANSLATIONS=$(call wildcard,*.plg_$(PLUGINTYPE)_$(BASE).*ini) 
    INDEXFILES=$(BASE)/index.html
    TMPLFILES=$(call wildcard,$(BASE)/tmpl/*.php) $(BASE)/index.html $(BASE)/tmpl/index.html
    ASSETS=$(call wildcard,assets/*.png) $(call wildcard,assets/*.css) assets/index.html
    ZIPFILE=plg_$(PLUGINTYPE)_$(BASE)_v$(VERSION).zip
    
    
    zip: $(PLUGINFILES) $(TRANSLATIONS) $(ELEMENTS) $(TMPLFILES)
    	@echo "Packing all files into distribution file $(ZIPFILE):"
    	@zip -r $(ZIPFILE) $(PLUGINFILES) $(TRANSLATIONS) $(ELEMENTS) $(INDEXFILES) $(TMPLFILES) $(ASSETS)
    
    clean:
    	rm -f $(ZIPFILE)