Pārlūkot izejas kodu

Merge pull request #564 from Immediate-Mode-UI/remove-doc-binary

documentation: Remove the "doc" binary from repo (it is being rebuilt on demand anyway)
dumblob 2 gadi atpakaļ
vecāks
revīzija
b4b94b0486
3 mainītis faili ar 6 papildinājumiem un 3 dzēšanām
  1. 1 0
      .gitignore
  2. 5 3
      doc/Makefile
  3. BIN
      doc/doc

+ 1 - 0
.gitignore

@@ -5,6 +5,7 @@ example/bin/*
 docs/xml
 docs/build
 docs/src
+doc/doc*
 *.tmp
 *.swo
 *.swp

+ 5 - 3
doc/Makefile

@@ -13,12 +13,14 @@ LIBS =
 else
 	UNAME_S := $(shell uname -s)
 	ifeq ($(UNAME_S),Darwin)
-		LIBS = 
+		LIBS =
 	else
 		LIBS =
 	endif
 endif
 
-$(BIN):
-	rm -f $(BIN) $(OBJS)
+$(BIN): clean
 	$(CC) $(SRC) $(CFLAGS) -o $(BIN)
+
+clean:
+	rm -f $(BIN) $(OBJS)

BIN
doc/doc