From a1c780cc5598518f6882dc309d38b43d743484b8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Eckl=2C=20M=C3=A1t=C3=A9?= <ecklm@sch.bme.hu>
Date: Tue, 2 Jun 2015 09:00:15 +0200
Subject: [PATCH] =?UTF-8?q?Makefile=20+=20zipin=20jav=C3=ADt=C3=A1s?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 NHF/Makefile | 3 +++
 zipin.sh     | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/NHF/Makefile b/NHF/Makefile
index 777c442..38eb7fe 100644
--- a/NHF/Makefile
+++ b/NHF/Makefile
@@ -6,5 +6,8 @@ heap.o : include/heap.h src/heap.cpp
 	c++ -I include/ -c src/heap.cpp
 test_container.o : include/test_container.h include/proc_test.h
 	c++ -I include/ -c src/test_container.cpp
+
 clean :
 	rm NHF main.o heap.o test_container.o
+doc:
+	libreoffice --invisible --convert-to pdf ../Dokumentáció.odt
diff --git a/zipin.sh b/zipin.sh
index 076fca4..e9ef051 100755
--- a/zipin.sh
+++ b/zipin.sh
@@ -1,4 +1,5 @@
 #! /bin/bash
+#echo "$(readlink -f $0 | sed 's/zipin.sh$//')" #így már nem kell a szkript mappájában állni futtatáskor
 FILENAME=prog2-NHF
 (
 	libreoffice --invisible  --convert-to pdf --outdir /tmp Dokumentáció.odt
@@ -7,4 +8,3 @@ FILENAME=prog2-NHF
 )&
 cd NHF
 zip -r /tmp/$FILENAME.zip main.cpp include src tests
-
-- 
GitLab