Preparing for the next release
This commit is contained in:
parent
1ad4789def
commit
9e37e8f102
7
Makefile
7
Makefile
|
@ -1,6 +1,6 @@
|
|||
PACKAGE = Editor
|
||||
VERSION = 0.0.1
|
||||
SUBDIRS = src
|
||||
VERSION = 0.0.2
|
||||
SUBDIRS = data src
|
||||
RM = rm -f
|
||||
LN = ln -f
|
||||
TAR = tar -czvf
|
||||
|
@ -21,6 +21,9 @@ dist:
|
|||
$(RM) -r $(PACKAGE)-$(VERSION)
|
||||
$(LN) -s . $(PACKAGE)-$(VERSION)
|
||||
@$(TAR) $(PACKAGE)-$(VERSION).tar.gz \
|
||||
$(PACKAGE)-$(VERSION)/data/Makefile \
|
||||
$(PACKAGE)-$(VERSION)/data/editor.desktop \
|
||||
$(PACKAGE)-$(VERSION)/data/project.conf \
|
||||
$(PACKAGE)-$(VERSION)/src/callbacks.c \
|
||||
$(PACKAGE)-$(VERSION)/src/editor.c \
|
||||
$(PACKAGE)-$(VERSION)/src/main.c \
|
||||
|
|
2
config.h
2
config.h
|
@ -1,5 +1,5 @@
|
|||
#define PACKAGE "Editor"
|
||||
#define VERSION "0.0.1"
|
||||
#define VERSION "0.0.2"
|
||||
|
||||
#ifndef PREFIX
|
||||
# define PREFIX "/usr/local"
|
||||
|
|
21
data/Makefile
Normal file
21
data/Makefile
Normal file
|
@ -0,0 +1,21 @@
|
|||
PREFIX = /usr/local
|
||||
DESTDIR =
|
||||
MKDIR = mkdir -p
|
||||
INSTALL = install
|
||||
RM = rm -f
|
||||
|
||||
|
||||
all:
|
||||
|
||||
clean:
|
||||
|
||||
distclean: clean
|
||||
|
||||
install: all
|
||||
$(MKDIR) $(DESTDIR)$(PREFIX)/share/applications
|
||||
$(INSTALL) -m 0644 editor.desktop $(DESTDIR)$(PREFIX)/share/applications/editor.desktop
|
||||
|
||||
uninstall:
|
||||
$(RM) $(DESTDIR)$(PREFIX)/share/applications/editor.desktop
|
||||
|
||||
.PHONY: all clean distclean install uninstall
|
7
data/editor.desktop
Normal file
7
data/editor.desktop
Normal file
|
@ -0,0 +1,7 @@
|
|||
[Desktop Entry]
|
||||
Name=Text editor
|
||||
Comment=A simple text editor
|
||||
Exec=editor
|
||||
Icon=text-editor
|
||||
Type=Application
|
||||
Categories=;GTK;
|
4
data/project.conf
Normal file
4
data/project.conf
Normal file
|
@ -0,0 +1,4 @@
|
|||
dist=Makefile,editor.desktop
|
||||
|
||||
[editor.desktop]
|
||||
install=$(PREFIX)/share/applications
|
|
@ -1,6 +1,6 @@
|
|||
package=Editor
|
||||
version=0.0.1
|
||||
version=0.0.2
|
||||
config=h
|
||||
|
||||
subdirs=src
|
||||
subdirs=data,src
|
||||
dist=Makefile,COPYING,config.h
|
||||
|
|
Loading…
Reference in New Issue
Block a user