Skip to content

Commit 68995ea

Browse files
authored
Rename project to "pipes.c" and bin to "pipes-c" (#13)
* Rename project to "pipes.c" and bin to "cpipes" The new project name fits with the Pipeseroni convention, and the new binary name is unlikely to conflict with anything already installed.
1 parent 24c1b84 commit 68995ea

File tree

5 files changed

+14
-14
lines changed

5 files changed

+14
-14
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
snake
1+
pipes-c
22
*.swp
33
*.o
44
Makefile

Makefile.am

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
bin_PROGRAMS = snake
2-
snake_SOURCES = src/snake.c \
1+
bin_PROGRAMS = cpipes
2+
cpipes_SOURCES = src/cpipes.c \
33
src/pipe.c src/pipe.h \
44
src/render.c src/render.h \
55
src/util.c src/util.h
6-
snake_CFLAGS = $(WARN_CFLAGS)
7-
snake_LDFLAGS = $(WARN_CFLAGS)
8-
snake_LDADD = $(CURSES_LIBS)
9-
snake_CPPFLAGS = $(CURSES_CFLAGS)
6+
cpipes_CFLAGS = $(WARN_CFLAGS)
7+
cpipes_LDFLAGS = $(WARN_CFLAGS)
8+
cpipes_LDADD = $(CURSES_LIBS)
9+
cpipes_CPPFLAGS = $(CURSES_CFLAGS)

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Snakes
1+
# Pipes.c
22

33
> *A small piece of software designed to emulate the windows "pipes"
44
screensaver in a terminal window.*
@@ -33,11 +33,11 @@ autoconf-archive are required.
3333

3434
## Usage
3535

36-
To get help, run `snake --help`. In my opinion, the following options are
36+
To get help, run `cpipes --help`. In my opinion, the following options are
3737
especially interesting:
3838

39-
snake -p30 -r1
40-
snake -p100 -r0 -i1
39+
cpipes -p30 -r1
40+
cpipes -p100 -r0 -i1
4141

4242
## Bugs
4343

configure.ac

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
AC_PREREQ([2.64])
44

55
# Package version from `git describe --always`
6-
AC_INIT([snake],
6+
AC_INIT([pipes.c],
77
[m4_esyscmd_s([git describe --always])],
88
[stefans.mezulis@gmail.com])
99
AC_CONFIG_HEADERS([config.h])
10-
AC_CONFIG_SRCDIR([src/snake.c])
10+
AC_CONFIG_SRCDIR([src/cpipes.c])
1111
AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects])
1212
AC_PROG_SED
1313
AC_LANG([C])

src/snake.c renamed to src/cpipes.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ void render(void *data);
3333
int initial_state = -1;
3434

3535
const char *usage =
36-
"Usage: snake [OPTIONS]\n"
36+
"Usage: cpipes [OPTIONS]\n"
3737
"Options:\n"
3838
" -p, --pipes=N Number of pipes. (Default: 20 )\n"
3939
" -f, --fps=F Frames per second. (Default: 60.0 )\n"

0 commit comments

Comments
 (0)