Compare commits
No commits in common. "96297f2bc4c552f0c8f6aac602f2560bffa4d842" and "7feb17a9e8e1e9a9ad73bbff48d5a3ae4807a1bb" have entirely different histories.
96297f2bc4
...
7feb17a9e8
@ -149,7 +149,7 @@
|
|||||||
}
|
}
|
||||||
if (this.getField("pa-end-date").value != "JJJJ-MM") {
|
if (this.getField("pa-end-date").value != "JJJJ-MM") {
|
||||||
var endDate = new Date(this.getField("pa-end-date").value);
|
var endDate = new Date(this.getField("pa-end-date").value);
|
||||||
if (date > endDate) {
|
if (date >= endDate) {
|
||||||
app.alert("Das Startdatum muss vor dem Enddatum liegen.");
|
app.alert("Das Startdatum muss vor dem Enddatum liegen.");
|
||||||
event.rc = false;
|
event.rc = false;
|
||||||
}
|
}
|
||||||
@ -169,7 +169,7 @@
|
|||||||
}
|
}
|
||||||
if (this.getField("pa-start-date").value != "JJJJ-MM") {
|
if (this.getField("pa-start-date").value != "JJJJ-MM") {
|
||||||
var startDate = new Date(this.getField("pa-start-date").value);
|
var startDate = new Date(this.getField("pa-start-date").value);
|
||||||
if (startDate > date) {
|
if (startDate >= date) {
|
||||||
app.alert("Das Enddatum muss nach dem Startdatum liegen.");
|
app.alert("Das Enddatum muss nach dem Startdatum liegen.");
|
||||||
event.rc = false;
|
event.rc = false;
|
||||||
}
|
}
|
||||||
|
|||||||
16
Makefile
16
Makefile
@ -13,7 +13,6 @@ BUILD_DIR=Build
|
|||||||
|
|
||||||
PDF_SOURCE=$(BUILD_DIR)/$(PDF)
|
PDF_SOURCE=$(BUILD_DIR)/$(PDF)
|
||||||
PDF_TARGET=$(OUT_DIR)/$(PDF)
|
PDF_TARGET=$(OUT_DIR)/$(PDF)
|
||||||
VERSION=v1.2
|
|
||||||
|
|
||||||
all: compile
|
all: compile
|
||||||
xdg-open $(PDF_TARGET)
|
xdg-open $(PDF_TARGET)
|
||||||
@ -21,19 +20,6 @@ all: compile
|
|||||||
clean:
|
clean:
|
||||||
git clean -dfX
|
git clean -dfX
|
||||||
|
|
||||||
pdfs:
|
|
||||||
# Make all PDFs for the VERSION (branches VERSION/QSM, VERSION/VSM and VERSION/VGL)
|
|
||||||
git checkout $(VERSION)/QSM
|
|
||||||
make compile
|
|
||||||
cp $(PDF_TARGET) $(OUT_DIR)/$(VERSION)_QSM.pdf
|
|
||||||
git checkout $(VERSION)/VSM
|
|
||||||
make compile
|
|
||||||
cp $(PDF_TARGET) $(OUT_DIR)/$(VERSION)_VSM.pdf
|
|
||||||
git checkout $(VERSION)/VGL
|
|
||||||
make compile
|
|
||||||
cp $(PDF_TARGET) $(OUT_DIR)/$(VERSION)_VGL.pdf
|
|
||||||
git checkout master
|
|
||||||
|
|
||||||
compile:
|
compile:
|
||||||
# If not Exists, create 'Build' directory
|
# If not Exists, create 'Build' directory
|
||||||
[ -d $(BUILD_DIR) ] || mkdir -p $(BUILD_DIR)
|
[ -d $(BUILD_DIR) ] || mkdir -p $(BUILD_DIR)
|
||||||
@ -43,4 +29,4 @@ compile:
|
|||||||
# Copy the PDF to the 'Output/' directory
|
# Copy the PDF to the 'Output/' directory
|
||||||
cp $(PDF_SOURCE) $(PDF_TARGET)
|
cp $(PDF_SOURCE) $(PDF_TARGET)
|
||||||
|
|
||||||
.PHONY: all clean
|
.PHONY: all clean
|
||||||
Loading…
Reference in New Issue
Block a user