mirror of
https://github.com/amiwm/amiwm.git
synced 2026-04-14 11:04:18 +00:00
Delete generated configure script and ignore all build/generated files
These should not be in the repository.
This commit is contained in:
22
.gitignore
vendored
22
.gitignore
vendored
@@ -1 +1,23 @@
|
|||||||
|
*.a
|
||||||
*.o
|
*.o
|
||||||
|
Makefile
|
||||||
|
|
||||||
|
/Keyboard
|
||||||
|
/Xinitrc
|
||||||
|
/Xsession
|
||||||
|
/Xsession2
|
||||||
|
/amiwm
|
||||||
|
/autom4te.cache/
|
||||||
|
/config.log
|
||||||
|
/config.status
|
||||||
|
/config_util
|
||||||
|
/configure
|
||||||
|
/executecmd
|
||||||
|
/gram.c
|
||||||
|
/gram.h
|
||||||
|
/kbdlexer.c
|
||||||
|
/kbdmodule.c
|
||||||
|
/kbdmodule.h
|
||||||
|
/lex.c
|
||||||
|
/ppmtoinfo
|
||||||
|
/requestchoice
|
||||||
|
|||||||
87
Imakefile
87
Imakefile
@@ -1,87 +0,0 @@
|
|||||||
|
|
||||||
PROGRAMS = amiwm requestchoice executecmd
|
|
||||||
|
|
||||||
AMIWM_HOME = /usr/X11/lib/X11/amiwm
|
|
||||||
|
|
||||||
SRCS1 = main.c drawinfo.c client.c frame.c icc.c \
|
|
||||||
icon.c menu.c diskobject.c gram.c lex.c rc.c
|
|
||||||
OBJS1 = main.o drawinfo.o client.o frame.o icc.o \
|
|
||||||
icon.o menu.o diskobject.o gram.o lex.o rc.o
|
|
||||||
|
|
||||||
SRCS2 = requestchoice.c drawinfo.c
|
|
||||||
OBJS2 = requestchoice.o drawinfo.o
|
|
||||||
|
|
||||||
SRCS3 = executecmd.c drawinfo.c
|
|
||||||
OBJS3 = executecmd.o drawinfo.o
|
|
||||||
|
|
||||||
YFLAGS = -d
|
|
||||||
|
|
||||||
all::
|
|
||||||
|
|
||||||
/* Some old implementations does not have LexFile and YaccFile... */
|
|
||||||
|
|
||||||
#ifndef LexFile
|
|
||||||
#define LexFile(file) @@\
|
|
||||||
depend:: file.c @@\
|
|
||||||
@@\
|
|
||||||
clean:: @@\
|
|
||||||
$(RM) lex.yy.c file.c
|
|
||||||
#endif /* LexFile */
|
|
||||||
|
|
||||||
#ifndef YaccFile
|
|
||||||
#define YaccFile(file,flags) @@\
|
|
||||||
depend:: file.c @@\
|
|
||||||
@@\
|
|
||||||
file.h file.c: file.y @@\
|
|
||||||
$(YACC) flags file.y @@\
|
|
||||||
$(MV) y.tab.c file.c @@\
|
|
||||||
$(MV) y.tab.h file.h @@\
|
|
||||||
@@\
|
|
||||||
clean:: @@\
|
|
||||||
$(RM) y.tab.c y.tab.h file.h file.c
|
|
||||||
#endif /* YaccFile */
|
|
||||||
|
|
||||||
LexFile(lex)
|
|
||||||
|
|
||||||
YaccFile(gram,$(YFLAGS))
|
|
||||||
|
|
||||||
ComplexProgramTarget_1(amiwm, $(XLIB) $(XMULIB), $(OTHER_LIBS))
|
|
||||||
|
|
||||||
ComplexProgramTarget_2(requestchoice, $(XLIB), $(OTHER_LIBS))
|
|
||||||
|
|
||||||
ComplexProgramTarget_3(executecmd, $(XLIB), $(OTHER_LIBS))
|
|
||||||
|
|
||||||
SpecialCObjectRule(menu,$(_NOOP_),'-DAMIWM_HOME="$(AMIWM_HOME)"')
|
|
||||||
SpecialCObjectRule(rc,$(_NOOP_),'-DAMIWM_HOME="$(AMIWM_HOME)"')
|
|
||||||
|
|
||||||
install ::
|
|
||||||
MakeDir($(AMIWM_HOME))
|
|
||||||
RemoveFile($(AMIWM_HOME)/requestchoice)
|
|
||||||
$(LN) $(BINDIR)/requestchoice $(AMIWM_HOME)/requestchoice
|
|
||||||
RemoveFile($(AMIWM_HOME)/executecmd)
|
|
||||||
$(LN) $(BINDIR)/executecmd $(AMIWM_HOME)/executecmd
|
|
||||||
|
|
||||||
InstallNonExec(system.amiwmrc, $(AMIWM_HOME)/system.amiwmrc)
|
|
||||||
InstallNonExec(def_tool.info, $(AMIWM_HOME)/def_tool.info)
|
|
||||||
|
|
||||||
|
|
||||||
/* Targets for my private use. Not very portable. // Marcus */
|
|
||||||
|
|
||||||
DISTFILES = README.md INSTALL Imakefile smakefile scoptions *.[chly] \
|
|
||||||
system.amiwmrc def_tool.info
|
|
||||||
|
|
||||||
patch :
|
|
||||||
mv version.h old_version.h
|
|
||||||
sed < old_version.h 's/l/"/' | awk '-F"' '{ printf "%s\"%sl%s\"\n",$$1,$$2,1+$$3 }' > version.h
|
|
||||||
rm old_version.h
|
|
||||||
|
|
||||||
dist : version.h clean
|
|
||||||
( version=`sed < version.h -e 's/^[^"]*"//' -e 's/"[^"]*$$//'`; \
|
|
||||||
tarname="amiwm$$version.tar"; \
|
|
||||||
mkdir amiwm; \
|
|
||||||
cp $(DISTFILES) amiwm/; \
|
|
||||||
rm -f $$tarname $$tarname.gz; \
|
|
||||||
tar cf $$tarname amiwm; \
|
|
||||||
rm -rf amiwm/; \
|
|
||||||
gzip $$tarname; \
|
|
||||||
)
|
|
||||||
Reference in New Issue
Block a user