Commit 9ed05d2a authored by Reinhold Kainhofer's avatar Reinhold Kainhofer

Fix directory name of the advanced plugin

parent 81e5dbf2
......@@ -6,8 +6,8 @@ DIR = $(shell pwd)
SVNDIR=wordpress-plugin-svn
BUILDDIR=.build/
BASICBUILDDIR=$(VENDOR)-$(PLATTFORM)-$(BASE)-basic
ADVBUILDDIR=$(VENDOR)-$(PLATTFORM)-$(BASE)-advanced
BASICBUILDDIR=$(PLATTFORM)-basic-$(BASE)
ADVBUILDDIR=$(PLATTFORM)-advanced-$(BASE)
PLUGINFILES=library assets ordernumber_helper_woocommerce.php ordernumbers_woocommerce_basic.php readme.txt LICENSE.txt
BASICPLUGINFILES=woocommerce-basic-ordernumbers.php
......@@ -23,19 +23,20 @@ all: zip
zip: $(PLUGINFILES) $(ADVPLUGINFILES) $(BASICPLUGINFILES) $(TRANSLATIONS)
echo $(DIR)
@echo "Packing basic plugin version into distribution file $(ZIPFILE):"
mkdir -p $(BUILDDIR)/$(BASICBUILDDIR)
cp --parents -r $(PLUGINFILES) $(BASICPLUGINFILES) $(TRANSLATIONS) $(BUILDDIR)/$(BASICBUILDDIR)
@mkdir -p $(BUILDDIR)/$(BASICBUILDDIR)
@cp --parents -r $(PLUGINFILES) $(BASICPLUGINFILES) $(TRANSLATIONS) $(BUILDDIR)/$(BASICBUILDDIR)
cd $(BUILDDIR) && zip -r $(DIR)/$(ZIPFILE) $(BASICBUILDDIR)
# @zip -r
mkdir -p $(BUILDDIR)/$(ADVBUILDDIR)
echo `pwd`mak
cp --parents -r $(PLUGINFILES) $(ADVPLUGINFILES) $(TRANSLATIONS) $(BUILDDIR)/$(ADVBUILDDIR)
cp readme-adv.txt $(BUILDDIR)/$(ADVBUILDDIR)/readme.txt
cd $(BUILDDIR) && zip -r $(DIR)/$(ADVZIPFILE) $(ADVBUILDDIR)
@echo "Packing advanced plugin version into distribution file $(ADVZIPFILE):"
@mkdir -p $(BUILDDIR)/$(ADVBUILDDIR)
echo `pwd`
@cp --parents -r $(PLUGINFILES) $(ADVPLUGINFILES) $(TRANSLATIONS) $(BUILDDIR)/$(ADVBUILDDIR)
@cp readme-adv.txt $(BUILDDIR)/$(ADVBUILDDIR)/readme.txt
@cd $(BUILDDIR) && zip -r $(DIR)/$(ADVZIPFILE) $(ADVBUILDDIR)
cd $(DIR)
clean:
rm -f $(ZIPFILE) $(ADVZIPFILE) $(BUILDDIR) $(ADVBUILDDIR)
rm -rf $(ZIPFILE) $(ADVZIPFILE) $(BUILDDIR) $(ADVBUILDDIR)
$(SVNDIR)/tags/$(VERSION) :
cd $(SVNDIR) && svn cp trunk tags/$(VERSION)
......
......@@ -43,6 +43,7 @@ class OpenToolsOrdernumbers extends OpenToolsOrdernumbersBasic {
// Install hooks for third-party plugin support:
$this->thirdparty_wpo_wcpdf_init();
}
protected function initializeSettingsGeneral() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment